public class FontDataInputStream extends DataInputStream
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FontDataInputStream.SeekableByteArrayInputStream |
in| Constructor and Description |
|---|
FontDataInputStream(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition() |
byte[] |
readBytes(int length) |
float |
readFixed32() |
int[] |
readSplitBits(int numUpperBits) |
String |
readString(int length) |
int |
readUIntBase128() |
long |
readUnsignedInt() |
int[] |
readUnsignedShortArray(int length) |
void |
seek(int offset) |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic long readUnsignedInt()
throws IOException
IOExceptionpublic String readString(int length) throws IOException
IOExceptionpublic byte[] readBytes(int length)
throws IOException
IOExceptionpublic void seek(int offset)
public int readUIntBase128()
throws IOException
IOExceptionpublic float readFixed32()
throws IOException
IOExceptionpublic int getPosition()
public int[] readSplitBits(int numUpperBits)
throws IOException
IOExceptionpublic int[] readUnsignedShortArray(int length)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.