public class LittleEndianInputStream extends FilterInputStream implements LittleEndianInput
InputStream providing LittleEndianInput
This class does not buffer any input, so the stream read position maintained
by this class is consistent with that of the inner stream.in| Constructor and Description |
|---|
LittleEndianInputStream(InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
byte |
readByte() |
double |
readDouble() |
void |
readFully(byte[] buf) |
void |
readFully(byte[] buf,
int off,
int len) |
int |
readInt() |
long |
readLong() |
short |
readShort() |
int |
readUByte() |
int |
readUShort() |
close, mark, markSupported, read, read, read, reset, skippublic LittleEndianInputStream(InputStream is)
public int available()
available in interface LittleEndianInputavailable in class FilterInputStreampublic byte readByte()
readByte in interface LittleEndianInputpublic int readUByte()
readUByte in interface LittleEndianInputpublic double readDouble()
readDouble in interface LittleEndianInputpublic int readInt()
readInt in interface LittleEndianInputpublic long readLong()
readLong in interface LittleEndianInputpublic short readShort()
readShort in interface LittleEndianInputpublic int readUShort()
readUShort in interface LittleEndianInputpublic void readFully(byte[] buf)
readFully in interface LittleEndianInputpublic void readFully(byte[] buf,
int off,
int len)
readFully in interface LittleEndianInputCopyright © 2020. All rights reserved.