public interface TypeWriter
Modifier and Type | Method and Description |
---|---|
long |
getBytesWritten()
Returns the number of bytes that have been written, i.e., the byte index of the next byte to
be written.
|
void |
putS1(long value)
Writes a signed 1 byte value.
|
void |
putS2(long value)
Writes a signed 2 byte value.
|
void |
putS4(long value)
Writes a signed 4 byte value.
|
void |
putS8(long value)
Writes a signed 8 byte value.
|
default void |
putSV(long value)
Writes a signed value in a variable byte size encoding.
|
void |
putU1(long value)
Writes an unsigned 1 byte value.
|
void |
putU2(long value)
Writes an unsigned 2 byte value.
|
void |
putU4(long value)
Writes an unsigned 4 byte value.
|
default void |
putUV(long value)
Writes an unsigned value in a variable byte size encoding.
|
long getBytesWritten()
void putS1(long value)
void putU1(long value)
void putS2(long value)
void putU2(long value)
void putS4(long value)
void putU4(long value)
void putS8(long value)
default void putSV(long value)
default void putUV(long value)