Package org.geotools.data.postgis
Class VarintDataInStream
Object
VarintDataInStream
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor allowing to set the stream later, will NPE if the stream is not setVarintDataInStream
(InStream stream) Builds the varint data stream with the given stream -
Method Summary
Modifier and TypeMethodDescriptionbyte
readByte()
Reads a byteint
Reads an signed varintegerlong
Reads an signed 64-bit varintegerint
Reads an un-signed varintegervoid
setInStream
(InStream stream) Sets a new InStream to delegate reads to
-
Constructor Details
-
VarintDataInStream
public VarintDataInStream()Constructor allowing to set the stream later, will NPE if the stream is not set -
VarintDataInStream
Builds the varint data stream with the given stream
-
-
Method Details
-
setInStream
Sets a new InStream to delegate reads to -
readByte
Reads a byte- Throws:
IOException
-
readUnsignedInt
Reads an un-signed varinteger- Throws:
IOException
-
readSignedInt
Reads an signed varinteger- Throws:
IOException
-
readSignedLong
Reads an signed 64-bit varinteger- Throws:
IOException
-