- putInt
- compareTo
- toLong
Reads a long value at the given buffer's offset.
- writeVLong
Similar to WritableUtils#writeVLong(java.io.DataOutput,long), but writes to a
ByteBuffer.
- copyBufferToStream
Copy data from a buffer to an output stream. Does not update the position in the
buffer.
- copyFromBufferToArray
Copies specified number of bytes from given offset of 'in' ByteBuffer to the
array. This doesn't aff
- copyFromBufferToBuffer
Copy from one buffer to another from given offset. This will be absolute
positional copying and won'
- copyFromStreamToBuffer
Copy the given number of bytes from the given stream and put it at the current
position of the given
- longFitsIn
Check how many bytes are required to store value.
- putCompressedInt
Put in buffer integer using 7 bit encoding. For each written byte: 7 bits are
used to store value 1
- putLong
Put a long value out to the given ByteBuffer's current position in big-endian
format. This also adva
- readCompressedInt
Read integer from buffer coded in 7 bits and increment position.