Class OTByteArray
- java.lang.Object
-
- com.adobe.fontengine.font.FontByteArray
-
- com.adobe.fontengine.font.opentype.OTByteArray
-
public final class OTByteArray extends FontByteArray
A sequence of bytes in an OpenType font file, with methods to access the basic types. The return type of the various accessors for the integral types isint
whenever the OpenType type fits in [-2^31 .. 2^31-1],long
otherwise. The only exception isgetuint32asint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
int
getint16(int offset)
return the int16 atoffset
in the tablestatic com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder
getOTByteArrayBuilderInstance()
int
getuint8(int offset)
return the uint8 atoffset
in the table
-
-
-
Method Detail
-
getOTByteArrayBuilderInstance
public static final com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder getOTByteArrayBuilderInstance()
-
getuint8
public final int getuint8(int offset) throws InvalidFontException
return the uint8 atoffset
in the table- Throws:
InvalidFontException
-
getint16
public final int getint16(int offset) throws InvalidFontException
return the int16 atoffset
in the table- Throws:
InvalidFontException
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classFontByteArray
-
-