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 is int whenever the OpenType type fits in [-2^31 .. 2^31-1], long otherwise. The only exception is getuint32asint
  • Method Details

    • getOTByteArrayBuilderInstance

      public static final com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder getOTByteArrayBuilderInstance()
    • getuint8

      public final int getuint8(int offset) throws InvalidFontException
      return the uint8 at offset in the table
      Throws:
      InvalidFontException
    • getint16

      public final int getint16(int offset) throws InvalidFontException
      return the int16 at offset in the table
      Throws:
      InvalidFontException
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class FontByteArray