public abstract class TTFInput extends Object
Constructor and Description |
---|
TTFInput() |
Modifier and Type | Method and Description |
---|---|
void |
checkShortZero() |
static boolean |
checkZeroBit(int b,
int bit,
String name) |
boolean |
flagBit(int bit) |
static boolean |
flagBit(int b,
int bit) |
void |
popPos() |
void |
pushPos() |
abstract int |
readByte() |
void |
readByteFlags()
Reads byte flags into a temporary variable which can be queried using the
flagBit method.
|
abstract byte |
readChar() |
double |
readF2Dot14() |
int[] |
readFFFFTerminatedUShortArray() |
double |
readFixed() |
abstract void |
readFully(byte[] b) |
short |
readFWord() |
abstract int |
readLong() |
abstract int |
readRawByte() |
abstract short |
readShort() |
short[] |
readShortArray(int n) |
int |
readUFWord() |
abstract long |
readULong() |
abstract int |
readUShort() |
int[] |
readUShortArray(int n) |
void |
readUShortFlags()
Reads unsigned short flags into a temporary variable which can be queried
using the flagBit method.
|
abstract void |
seek(long offset) |
public abstract void seek(long offset) throws IOException
IOException
public void pushPos() throws IOException
IOException
public void popPos() throws IOException
IOException
public abstract int readRawByte() throws IOException
IOException
public abstract int readByte() throws IOException
IOException
public abstract short readShort() throws IOException
IOException
public abstract int readUShort() throws IOException
IOException
public abstract long readULong() throws IOException
IOException
public abstract int readLong() throws IOException
IOException
public abstract byte readChar() throws IOException
IOException
public final short readFWord() throws IOException
IOException
public final int readUFWord() throws IOException
IOException
public final double readFixed() throws IOException
IOException
public final double readF2Dot14() throws IOException
IOException
public final void checkShortZero() throws IOException
IOException
public static final boolean checkZeroBit(int b, int bit, String name) throws IOException
IOException
public void readUShortFlags() throws IOException
IOException
public void readByteFlags() throws IOException
IOException
public boolean flagBit(int bit)
public static boolean flagBit(int b, int bit)
public abstract void readFully(byte[] b) throws IOException
IOException
public int[] readFFFFTerminatedUShortArray() throws IOException
IOException
public int[] readUShortArray(int n) throws IOException
IOException
public short[] readShortArray(int n) throws IOException
IOException
Copyright © 2014. All rights reserved.