com.vividsolutions.jts.io
Class ByteOrderDataInStream
java.lang.Object
com.vividsolutions.jts.io.ByteOrderDataInStream
public class ByteOrderDataInStream
extends java.lang.Object
Allows reading a stream of Java primitive datatypes from an underlying
InStream
,
with the representation being in either common byte ordering.
ByteOrderDataInStream
public ByteOrderDataInStream()
ByteOrderDataInStream
public ByteOrderDataInStream(InStream stream)
readByte
public byte readByte()
throws IOException
readDouble
public double readDouble()
throws IOException
readInt
public int readInt()
throws IOException
readLong
public long readLong()
throws IOException
setInStream
public void setInStream(InStream stream)
Allows a single ByteOrderDataInStream to be reused
on multiple InStreams.
setOrder
public void setOrder(int byteOrder)