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
|
long |
readSignedLong()
Reads an signed 64-bit 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
IOException
public int readUnsignedInt() throws IOException
IOException
public int readSignedInt() throws IOException
IOException
public long readSignedLong() throws IOException
IOException
Copyright © 1996–2022 Geotools. All rights reserved.