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()