public class ByteOrderDataInStream
extends java.lang.Object
InStream,
with the representation being in either common byte ordering.| Constructor | Description |
|---|---|
ByteOrderDataInStream() |
|
ByteOrderDataInStream(InStream stream) |
| Modifier and Type | Method | Description |
|---|---|---|
byte |
readByte() |
Reads a byte value
|
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.IOExceptionCopyright © 2018. All rights reserved.