JTS Core 1.17.1
Packages
Classes
Search
About
Top
ByteOrderDataInStream()
ByteOrderDataInStream(InStream)
setInStream(InStream): void
setOrder(int): void
readByte(): byte
readInt(): int
readLong(): long
readDouble(): double
Bottom
Source
Classic
org.locationtech.jts.io
Class ByteOrderDataInStream
Hierarchy:
Object
, ByteOrderDataInStream
public class ByteOrderDataInStream
Allows reading a stream of Java primitive datatypes from an underlying
InStream
, with the representation being in either common byte ordering.
public
ByteOrderDataInStream()
public
ByteOrderDataInStream(
InStream
stream)
public
void setInStream(
InStream
stream)
Allows a single ByteOrderDataInStream to be reused on multiple InStreams.
Parameters:
stream - stream
public
void setOrder(int byteOrder)
public
byte readByte()
Reads a byte value
Returns:
the byte read
public
int readInt()
public
long readLong()
public
double readDouble()