java.io.Closeable
, java.lang.AutoCloseable
, LittleEndianInput
public class LittleEndianInputStream extends java.io.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.Constructor | Description |
---|---|
LittleEndianInputStream(java.io.InputStream is) |
Modifier and Type | Method | 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() |
public int available()
available
in interface LittleEndianInput
available
in class java.io.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 2018 The Apache Software Foundation or its licensors, as applicable.