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.IOException
public int readInt() throws java.io.IOException
java.io.IOException
public long readLong() throws java.io.IOException
java.io.IOException
public double readDouble() throws java.io.IOException
java.io.IOException
Copyright © 2018. All rights reserved.