Class FOPCFFDataInput

java.lang.Object
org.apache.fontbox.cff.DataInputByteArray
org.docx4j.fonts.fop.fonts.cff.FOPCFFDataInput
All Implemented Interfaces:
org.apache.fontbox.cff.DataInput

public class FOPCFFDataInput extends org.apache.fontbox.cff.DataInputByteArray
  • Constructor Details

    • FOPCFFDataInput

      public FOPCFFDataInput(byte[] buffer)
  • Method Details

    • hasRemaining

      public boolean hasRemaining() throws IOException
      Specified by:
      hasRemaining in interface org.apache.fontbox.cff.DataInput
      Overrides:
      hasRemaining in class org.apache.fontbox.cff.DataInputByteArray
      Throws:
      IOException
    • getPosition

      public int getPosition()
      Specified by:
      getPosition in interface org.apache.fontbox.cff.DataInput
      Overrides:
      getPosition in class org.apache.fontbox.cff.DataInputByteArray
    • setPosition

      public void setPosition(int position) throws IOException
      Specified by:
      setPosition in interface org.apache.fontbox.cff.DataInput
      Overrides:
      setPosition in class org.apache.fontbox.cff.DataInputByteArray
      Throws:
      IOException
    • readByte

      public byte readByte() throws IOException
      Specified by:
      readByte in interface org.apache.fontbox.cff.DataInput
      Overrides:
      readByte in class org.apache.fontbox.cff.DataInputByteArray
      Throws:
      IOException
    • readUnsignedByte

      public int readUnsignedByte() throws IOException
      Specified by:
      readUnsignedByte in interface org.apache.fontbox.cff.DataInput
      Overrides:
      readUnsignedByte in class org.apache.fontbox.cff.DataInputByteArray
      Throws:
      IOException
    • peekUnsignedByte

      public int peekUnsignedByte(int offset) throws IOException
      Specified by:
      peekUnsignedByte in interface org.apache.fontbox.cff.DataInput
      Overrides:
      peekUnsignedByte in class org.apache.fontbox.cff.DataInputByteArray
      Throws:
      IOException
    • readBytes

      public byte[] readBytes(int length) throws IOException
      Specified by:
      readBytes in interface org.apache.fontbox.cff.DataInput
      Overrides:
      readBytes in class org.apache.fontbox.cff.DataInputByteArray
      Throws:
      IOException
    • length

      public int length() throws IOException
      Specified by:
      length in interface org.apache.fontbox.cff.DataInput
      Overrides:
      length in class org.apache.fontbox.cff.DataInputByteArray
      Throws:
      IOException