public class LittleEndianInputStream extends FilterInputStream implements FontDataInput
in| Constructor and Description |
|---|
LittleEndianInputStream(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition() |
boolean |
readBoolean() |
byte |
readByte() |
byte[] |
readBytes(int length) |
char |
readChar() |
double |
readDouble() |
float |
readFixed32() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int[] |
readSplitBits(int numUpperBits) |
String |
readString(int length) |
int |
readUIntBase128() |
int |
readUnsignedByte() |
long |
readUnsignedInt() |
int |
readUnsignedShort() |
int[] |
readUnsignedShortArray(int length) |
String |
readUTF() |
void |
seek(int offset) |
int |
skipBytes(int n) |
available, close, mark, markSupported, read, read, read, reset, skippublic long readUnsignedInt()
throws IOException
readUnsignedInt in interface FontDataInputIOExceptionpublic String readString(int length) throws IOException
readString in interface FontDataInputIOExceptionpublic byte[] readBytes(int length)
throws IOException
readBytes in interface FontDataInputIOExceptionpublic void seek(int offset)
seek in interface FontDataInputpublic int readUIntBase128()
throws IOException
readUIntBase128 in interface FontDataInputIOExceptionpublic float readFixed32()
throws IOException
readFixed32 in interface FontDataInputIOExceptionpublic int getPosition()
getPosition in interface FontDataInputpublic int[] readSplitBits(int numUpperBits)
throws IOException
readSplitBits in interface FontDataInputIOExceptionpublic int[] readUnsignedShortArray(int length)
throws IOException
readUnsignedShortArray in interface FontDataInputIOExceptionpublic void readFully(byte[] b)
throws IOException
readFully in interface DataInputIOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws IOException
readFully in interface DataInputIOExceptionpublic int skipBytes(int n)
throws IOException
skipBytes in interface DataInputIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputIOExceptionCopyright © 2018. All rights reserved.