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 isintwhenever the OpenType type fits in [-2^31 .. 2^31-1],longotherwise. The only exception isgetuint32asint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)intgetint16(int offset)return the int16 atoffsetin the tablestatic com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuildergetOTByteArrayBuilderInstance()intgetuint8(int offset)return the uint8 atoffsetin the table
-
-
-
Method Detail
-
getOTByteArrayBuilderInstance
public static final com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder getOTByteArrayBuilderInstance()
-
getuint8
public final int getuint8(int offset) throws InvalidFontExceptionreturn the uint8 atoffsetin the table- Throws:
InvalidFontException
-
getint16
public final int getint16(int offset) throws InvalidFontExceptionreturn the int16 atoffsetin the table- Throws:
InvalidFontException
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classFontByteArray
-
-