Uses of Class
org.dizitart.no2.mvstore.compat.v1.mvstore.WriteBuffer
Packages that use WriteBuffer
Package
Description
-
Uses of WriteBuffer in org.dizitart.no2.mvstore.compat.v1.mvstore
Methods in org.dizitart.no2.mvstore.compat.v1.mvstore that return WriteBufferModifier and TypeMethodDescriptionWriteBuffer.clear()Clear the buffer after use.WriteBuffer.get(byte[] dst) Copy the data into the destination array.WriteBuffer.limit(int newLimit) Set the limit, possibly growing the buffer.WriteBuffer.position(int newPosition) Set the position.WriteBuffer.put(byte x) Put a byte.WriteBuffer.put(byte[] bytes) Put a byte array.WriteBuffer.put(byte[] bytes, int offset, int length) Put a byte array.WriteBuffer.put(ByteBuffer src) Put the contents of a byte buffer.WriteBuffer.putChar(char x) Put a character.WriteBuffer.putDouble(double x) Put a double.WriteBuffer.putFloat(float x) Put a float.WriteBuffer.putInt(int x) Put an integer.WriteBuffer.putInt(int index, int value) Update an integer at the given index.WriteBuffer.putLong(long x) Put a long.WriteBuffer.putShort(int index, short value) Update a short at the given index.WriteBuffer.putShort(short x) Put a short.WriteBuffer.putStringData(String s, int len) Write the characters of a string in a format similar to UTF-8.WriteBuffer.putVarInt(int x) Write a variable size integer.WriteBuffer.putVarLong(long x) Write a variable size long. -
Uses of WriteBuffer in org.dizitart.no2.mvstore.compat.v1.mvstore.type
Methods in org.dizitart.no2.mvstore.compat.v1.mvstore.type with parameters of type WriteBufferModifier and TypeMethodDescriptionvoidDataType.write(WriteBuffer buff, Object obj) Write an object.voidDataType.write(WriteBuffer buff, Object[] obj, int len, boolean key) Write a list of objects.voidObjectDataType.write(WriteBuffer buff, Object obj) voidObjectDataType.write(WriteBuffer buff, Object[] obj, int len, boolean key) voidStringDataType.write(WriteBuffer buff, Object obj) voidStringDataType.write(WriteBuffer buff, Object[] obj, int len, boolean key)