public final class ByteBufferBuilder extends Object
public static ByteBufferBuilder allocate()
public static ByteBufferBuilder allocate(int capacity)
public static ByteBufferBuilder allocateDirect(int capacity)
public static ByteBufferBuilder wrap(ByteBuffer buffer)
public ByteBufferBuilder append(byte[] src, int offset, int length)
public ByteBufferBuilder append(byte value)
public ByteBufferBuilder append(byte[] src)
public ByteBufferBuilder append(char c)
public ByteBufferBuilder append(short value)
public ByteBufferBuilder append(long value)
public ByteBufferBuilder append(int value)
public ByteBufferBuilder append(String value)
public ByteBufferBuilder append(ByteBuffer buffer)
public byte get()
public ByteBufferBuilder get(byte[] dst)
public ByteBufferBuilder get(byte[] dst, int offset, int length)
public short getShort()
public int getInt()
public long getLong()
public ByteBufferBuilder clear()
public ByteBufferBuilder flip()
public ByteBufferBuilder mark()
public ByteBufferBuilder reset()
public int remaining()
public ByteBufferBuilder rewind()
public int position()
public ByteBufferBuilder position(int newPosition)
public int limit()
public ByteBufferBuilder limit(int newLimit)
public ByteBufferBuilder compact()
public ByteBufferBuilder duplicate()
public byte[] array()
public ByteBuffer buffer()
Copyright © 2022. All rights reserved.