Buffer exposes.
It can be useful if you only need the data access methods, and perhaps wish to decorate or modify their behaviour.
Usually, you'd use the Buffer interface directly, since this lets you properly control the buffer life cycle.
| Modifier and Type | Method and Description |
|---|---|
| public default boolean | Returns: The boolean value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the boolean value at the given reader offset. |
| public byte | Returns: The byte value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the byte value at the given reader offset. |
| public char | Returns: The char value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the char value at the given reader offset. |
| public double | Returns: The double value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the double value at the given reader offset. |
| public float | Returns: The float value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the float value at the given reader offset. |
| public int | Returns: The int value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the int value at the given reader offset. |
| public long | Returns: The long value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the long value at the given reader offset. |
| public int | Returns: The int value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the int value at the given reader offset. |
| public short | Returns: The short value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the short value at the given reader offset. |
| public int | Returns: The unsigned byte value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the unsigned byte value at the given reader offset. |
| public long | Returns: The unsigned int value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the unsigned int value at the given reader offset. |
| public int | Returns: The unsigned int value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the unsigned int value at the given reader offset. |
| public int | Returns: The unsigned short value at the given offset.The read offset, an absolute offset into this buffer, to read from. roff)Get the unsigned short value at the given reader offset. |
| public default boolean | Returns: The boolean value at the current reader offset.Read the boolean value at the current |
| public byte | Returns: The byte value at the current reader offset.Read the byte value at the current |
| public char | Returns: The char value at the current reader offset.Read the char value at the current |
| public double | Returns: The double value at the current reader offset.Read the double value at the current |
| public float | Returns: The float value at the current reader offset.Read the float value at the current |
| public int | Returns: The int value at the current reader offset.Read the int value at the current |
| public long | Returns: The long value at the current reader offset.Read the long value at the current |
| public int | Returns: The int value at the current reader offset.Read the int value at the current |
| public short | Returns: The short value at the current reader offset.Read the short value at the current |
| public int | Returns: The unsigned byte value at the current reader offset.Read the unsigned byte value at the current |
| public long | Returns: The unsigned int value at the current reader offset.Read the unsigned int value at the current |
| public int | Returns: The unsigned int value at the current reader offset.Read the unsigned int value at the current |
| public int | Returns: The unsigned short value at the current reader offset.Read the unsigned short value at the current |
| public default Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, boolean The boolean value to write. value)Set the given boolean value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, byte The byte value to write. value)Set the given byte value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, char The char value to write. value)Set the given char value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, double The double value to write. value)Set the given double value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, float The float value to write. value)Set the given float value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, int The int value to write. value)Set the given int value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, long The long value to write. value)Set the given long value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, int The int value to write. value)Set the given int value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, short The short value to write. value)Set the given short value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, int The int value to write. value)Set the given unsigned byte value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, long The long value to write. value)Set the given unsigned int value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, int The int value to write. value)Set the given unsigned int value at the given write offset. |
| public Buffer | Returns: This Buffer.The write offset, an absolute offset into this buffer to write to. woff, int The int value to write. value)Set the given unsigned short value at the given write offset. |
| public default Buffer | Returns: This Buffer.The boolean value to write. value)Write the given boolean value at the current |
| public Buffer | Returns: This Buffer.The byte value to write. value)Write the given byte value at the current |
| public Buffer | Returns: This Buffer.The char value to write. value)Write the given char value at the current |
| public Buffer | Returns: This Buffer.The double value to write. value)Write the given double value at the current |
| public Buffer | Returns: This Buffer.The float value to write. value)Write the given float value at the current |
| public Buffer | Returns: This Buffer.The int value to write. value)Write the given int value at the current |
| public Buffer | Returns: This Buffer.The long value to write. value)Write the given long value at the current |
| public Buffer | Returns: This Buffer.The int value to write. value)Write the given int value at the current |
| public Buffer | Returns: This Buffer.The short value to write. value)Write the given short value at the current |
| public Buffer | Returns: This Buffer.The int value to write. value)Write the given unsigned byte value at the current |
| public Buffer | Returns: This Buffer.The long value to write. value)Write the given unsigned int value at the current |
| public Buffer | Returns: This Buffer.The int value to write. value)Write the given unsigned int value at the current |
| public Buffer | Returns: This Buffer.The int value to write. value)Write the given unsigned short value at the current |
| getBoolean | back to summary |
|---|---|
| public default boolean getBoolean(int roff) Get the boolean value at the given reader offset.
The
| |
| getByte | back to summary |
|---|---|
| public byte getByte(int roff) Get the byte value at the given reader offset.
The
| |
| getChar | back to summary |
|---|---|
| public char getChar(int roff) Get the char value at the given reader offset.
The
| |
| getDouble | back to summary |
|---|---|
| public double getDouble(int roff) Get the double value at the given reader offset.
The
| |
| getFloat | back to summary |
|---|---|
| public float getFloat(int roff) Get the float value at the given reader offset.
The
| |
| getInt | back to summary |
|---|---|
| public int getInt(int roff) Get the int value at the given reader offset.
The
| |
| getLong | back to summary |
|---|---|
| public long getLong(int roff) Get the long value at the given reader offset.
The
| |
| getMedium | back to summary |
|---|---|
| public int getMedium(int roff) Get the int value at the given reader offset.
The
| |
| getShort | back to summary |
|---|---|
| public short getShort(int roff) Get the short value at the given reader offset.
The
| |
| getUnsignedByte | back to summary |
|---|---|
| public int getUnsignedByte(int roff) Get the unsigned byte value at the given reader offset.
The
| |
| getUnsignedInt | back to summary |
|---|---|
| public long getUnsignedInt(int roff) Get the unsigned int value at the given reader offset.
The
| |
| getUnsignedMedium | back to summary |
|---|---|
| public int getUnsignedMedium(int roff) Get the unsigned int value at the given reader offset.
The
| |
| getUnsignedShort | back to summary |
|---|---|
| public int getUnsignedShort(int roff) Get the unsigned short value at the given reader offset.
The
| |
| readBoolean | back to summary |
|---|---|
| public default boolean readBoolean() Read the boolean value at the current
| |
| readByte | back to summary |
|---|---|
| public byte readByte() Read the byte value at the current
| |
| readChar | back to summary |
|---|---|
| public char readChar() Read the char value at the current
| |
| readDouble | back to summary |
|---|---|
| public double readDouble() Read the double value at the current
| |
| readFloat | back to summary |
|---|---|
| public float readFloat() Read the float value at the current
| |
| readInt | back to summary |
|---|---|
| public int readInt() Read the int value at the current
| |
| readLong | back to summary |
|---|---|
| public long readLong() Read the long value at the current
| |
| readMedium | back to summary |
|---|---|
| public int readMedium() Read the int value at the current
| |
| readShort | back to summary |
|---|---|
| public short readShort() Read the short value at the current
| |
| readUnsignedByte | back to summary |
|---|---|
| public int readUnsignedByte() Read the unsigned byte value at the current
| |
| readUnsignedInt | back to summary |
|---|---|
| public long readUnsignedInt() Read the unsigned int value at the current
| |
| readUnsignedMedium | back to summary |
|---|---|
| public int readUnsignedMedium() Read the unsigned int value at the current
| |
| readUnsignedShort | back to summary |
|---|---|
| public int readUnsignedShort() Read the unsigned short value at the current
| |
| setBoolean | back to summary |
|---|---|
| public default Buffer setBoolean(int woff, boolean value) Set the given boolean value at the given write offset.
The
| |
| setByte | back to summary |
|---|---|
| public Buffer setByte(int woff, byte value) Set the given byte value at the given write offset. The
| |
| setChar | back to summary |
|---|---|
| public Buffer setChar(int woff, char value) Set the given char value at the given write offset. The
| |
| setDouble | back to summary |
|---|---|
| public Buffer setDouble(int woff, double value) Set the given double value at the given write offset. The
| |
| setFloat | back to summary |
|---|---|
| public Buffer setFloat(int woff, float value) Set the given float value at the given write offset. The
| |
| setInt | back to summary |
|---|---|
| public Buffer setInt(int woff, int value) Set the given int value at the given write offset. The
| |
| setLong | back to summary |
|---|---|
| public Buffer setLong(int woff, long value) Set the given long value at the given write offset. The
| |
| setMedium | back to summary |
|---|---|
| public Buffer setMedium(int woff, int value) Set the given int value at the given write offset. The
| |
| setShort | back to summary |
|---|---|
| public Buffer setShort(int woff, short value) Set the given short value at the given write offset. The
| |
| setUnsignedByte | back to summary |
|---|---|
| public Buffer setUnsignedByte(int woff, int value) Set the given unsigned byte value at the given write offset. The
| |
| setUnsignedInt | back to summary |
|---|---|
| public Buffer setUnsignedInt(int woff, long value) Set the given unsigned int value at the given write offset. The
| |
| setUnsignedMedium | back to summary |
|---|---|
| public Buffer setUnsignedMedium(int woff, int value) Set the given unsigned int value at the given write offset. The
| |
| setUnsignedShort | back to summary |
|---|---|
| public Buffer setUnsignedShort(int woff, int value) Set the given unsigned short value at the given write offset. The
| |
| writeBoolean | back to summary |
|---|---|
| public default Buffer writeBoolean(boolean value) Write the given boolean value at the current
| |
| writeByte | back to summary |
|---|---|
| public Buffer writeByte(byte value) Write the given byte value at the current
| |
| writeChar | back to summary |
|---|---|
| public Buffer writeChar(char value) Write the given char value at the current
| |
| writeDouble | back to summary |
|---|---|
| public Buffer writeDouble(double value) Write the given double value at the current
| |
| writeFloat | back to summary |
|---|---|
| public Buffer writeFloat(float value) Write the given float value at the current
| |
| writeInt | back to summary |
|---|---|
| public Buffer writeInt(int value) Write the given int value at the current
| |
| writeLong | back to summary |
|---|---|
| public Buffer writeLong(long value) Write the given long value at the current
| |
| writeMedium | back to summary |
|---|---|
| public Buffer writeMedium(int value) Write the given int value at the current
| |
| writeShort | back to summary |
|---|---|
| public Buffer writeShort(short value) Write the given short value at the current
| |
| writeUnsignedByte | back to summary |
|---|---|
| public Buffer writeUnsignedByte(int value) Write the given unsigned byte value at the current
| |
| writeUnsignedInt | back to summary |
|---|---|
| public Buffer writeUnsignedInt(long value) Write the given unsigned int value at the current
| |
| writeUnsignedMedium | back to summary |
|---|---|
| public Buffer writeUnsignedMedium(int value) Write the given unsigned int value at the current
| |
| writeUnsignedShort | back to summary |
|---|---|
| public Buffer writeUnsignedShort(int value) Write the given unsigned short value at the current
| |