Read one byte from the array
Read one byte from the array
Byte
Reads the number of bytes of the given as an argument from the Buffer
Reads the number of bytes of the given as an argument from the Buffer
bytes an Array[Byte]
with the requested number of Bytes
Reads a C-Style String from the Buffer
Reads a C-Style String from the Buffer
the Charset to use in decoding Bytes. Defaults to UTF-8
the converted String
Reads a Double from the Buffer
Reads a Double from the Buffer
the double read
Reads a Float from the Buffer
Reads a Float from the Buffer
the float read
Reads an Int from the Buffer
Reads an Int from the Buffer
the int read
Reads a Long from the Buffer
Reads a Long from the Buffer
the long read
Reads a Short from the Buffer
Reads a Short from the Buffer
the short read
Convertes the readable portion of this Buffer to an Array[Byte]
Convertes the readable portion of this Buffer to an Array[Byte]
xs the viewable portion of this buffer as a byte array
Writes a byte to the buffer
Writes a byte to the buffer
to the Byte to write
Writes an Array of bytes to the buffer
Writes an Array of bytes to the buffer
an Array[Byte]
Writes a String to the Buffer using the given Charset, then writes a terminated NULL
Writes a String to the Buffer using the given Charset, then writes a terminated NULL
the String to write to the Buffer
the Charset used in coverting a Char => Byte(s)
Writes an 8-Byte Double to Buffer
Writes an 8-Byte Double to Buffer
the double to write
Writes a 4-Byte Float to Buffer
Writes a 4-Byte Float to Buffer
the float to write
Writes a 4-Byte Int to Buffer
Writes a 4-Byte Int to Buffer
the long to write
Writes an 8-Byte long to Buffer
Writes an 8-Byte long to Buffer
the long to write
Writes a 1-Byte NULL (0x00) to the buffer
Writes a 2-Byte short to Buffer
Writes a 2-Byte short to Buffer
the short to write
A Buffer for reading and writing primatives to an Array
unlike the existing Buffer, this is both read and write compatible