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, skip
public LittleEndianInputStream(InputStream is)
public int available()
available
in interface LittleEndianInput
available
in class FilterInputStream
public byte readByte()
readByte
in interface LittleEndianInput
public int readUByte()
readUByte
in interface LittleEndianInput
public double readDouble()
readDouble
in interface LittleEndianInput
public int readInt()
readInt
in interface LittleEndianInput
public long readLong()
readLong
in interface LittleEndianInput
public short readShort()
readShort
in interface LittleEndianInput
public int readUShort()
readUShort
in interface LittleEndianInput
public void readFully(byte[] buf)
readFully
in interface LittleEndianInput
public void readFully(byte[] buf, int off, int len)
readFully
in interface LittleEndianInput
Copyright © 2020. All rights reserved.