com.vividsolutions.jts.io
public class ByteOrderDataInStream extends java.lang.Object
InStream,
with the representation being in either common byte ordering.| Constructor and Description |
|---|
ByteOrderDataInStream() |
ByteOrderDataInStream(InStream stream) |
| Modifier and Type | Method and Description |
|---|---|
byte |
readByte() |
double |
readDouble() |
int |
readInt() |
long |
readLong() |
void |
setInStream(InStream stream)
Allows a single ByteOrderDataInStream to be reused
on multiple InStreams.
|
void |
setOrder(int byteOrder) |
public ByteOrderDataInStream()
public ByteOrderDataInStream(InStream stream)
public void setInStream(InStream stream)
stream - public void setOrder(int byteOrder)
public byte readByte()
throws java.io.IOException
java.io.IOExceptionpublic int readInt()
throws java.io.IOException
java.io.IOExceptionpublic long readLong()
throws java.io.IOException
java.io.IOExceptionpublic double readDouble()
throws java.io.IOException
java.io.IOException