public interface TypeReader
Modifier and Type | Method and Description |
---|---|
long |
getByteIndex()
Returns the next byte index to be read.
|
int |
getS1()
Reads a signed 1 byte value.
|
int |
getS2()
Reads a signed 2 byte value.
|
int |
getS4()
Reads a signed 4 byte value.
|
long |
getS8()
Reads a signed 4 byte value.
|
default long |
getSV()
Reads a signed value that has been written using
variable byte size
encoding . |
default int |
getSVInt()
Reads a signed variable byte size encoded value that is known to fit into the range of int.
|
int |
getU1()
Reads an unsigned 1 byte value.
|
int |
getU2()
Reads an unsigned 2 byte value.
|
long |
getU4()
Reads an unsigned 4 byte value.
|
default long |
getUV()
Reads an unsigned value that has been written using
variable byte
size encoding . |
default int |
getUVInt()
Reads an unsigned variable byte size encoded value that is known to fit into the range of
int.
|
void |
setByteIndex(long byteIndex)
Sets the next byte index to be read.
|
long getByteIndex()
void setByteIndex(long byteIndex)
int getS1()
int getU1()
int getS2()
int getU2()
int getS4()
long getU4()
long getS8()
default long getSV()
variable byte size
encoding
.default int getSVInt()
default long getUV()
variable byte
size encoding
.default int getUVInt()