public class FontDataInputStream extends DataInputStream implements FontDataInput
| 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, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytespublic 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 FontDataInputIOExceptionCopyright © 2018. All rights reserved.