public class VarintDataInStream extends Object
| Constructor and Description |
|---|
VarintDataInStream()
Constructor allowing to set the stream later, will NPE if the stream is not set
|
VarintDataInStream(InStream stream)
Builds the varint data stream with the given stream
|
| Modifier and Type | Method and Description |
|---|---|
byte |
readByte()
Reads a byte
|
int |
readSignedInt()
Reads an signed varinteger
|
int |
readUnsignedInt()
Reads an un-signed varinteger
|
void |
setInStream(InStream stream)
Sets a new InStream to delegate reads to
|
public VarintDataInStream()
public VarintDataInStream(InStream stream)
public void setInStream(InStream stream)
public byte readByte()
throws IOException
IOExceptionpublic int readUnsignedInt()
throws IOException
IOExceptionpublic int readSignedInt()
throws IOException
IOExceptionCopyright © 1996–2021 Geotools. All rights reserved.