Type of encoded data
Type of encoded data
Returns the number of decoded elements
Returns the number of decoded elements
The number of decoded elements
Decode array of boolean values
Decode signed byte
Decode array of byte values
Decode array of byte values
expected size of decoded array
Returns encoded data at current position
Returns encoded data at current position
Decode signed Int previously encoded with VLQWriter.putInt using VLQ with ZigZag.
Decode signed Int previously encoded with VLQWriter.putInt using VLQ with ZigZag.
signed Int
Uses ZigZag encoding. Should be used to decode only a value that was previously encoded with VLQByteBufferWriter.putInt.
Decode signed Long previously encoded with VLQWriter.putLong using VLQ with ZigZag.
Decode signed Long previously encoded with VLQWriter.putLong using VLQ with ZigZag.
signed Long
Uses ZigZag encoding. Should be used to decode only a value that was previously encoded with VLQWriter.putLong.
Decode optional value
Decode signed Short previously encoded with VLQWriter.putShort using VLQ and then ZigZag.
Decode signed Short previously encoded with VLQWriter.putShort using VLQ and then ZigZag.
signed Short
Uses VLQ and then ZigZag encoding. Should be used to decode only a value that was previously encoded with VLQByteBufferWriter.putShort.
Decode String is shorter than 256 bytes
Decode positive Byte
Decode Int previously encoded with VLQWriter.putUInt using VLQ.
Decode Int previously encoded with VLQWriter.putUInt using VLQ.
Long
Decode Long previously encoded with VLQWriter.putULong using VLQ.
Decode Long previously encoded with VLQWriter.putULong using VLQ.
Long
Decode Short previously encoded with VLQWriter.putUShort using VLQ.
Decode Short previously encoded with VLQWriter.putUShort using VLQ.
Int
Sets the mark to current position
Sets the mark to current position
Creates new instance of this Reader
Creates new instance of this Reader
encoded data
Get a byte at current position without advancing the position.
Get a byte at current position without advancing the position.
byte at current position
Returns current position
Returns current position
position
Sets position
Returns the number of elements between the current position and the end of Reader
Returns the number of elements between the current position and the end of Reader
The number of elements remaining in th Reader
Not thread safe