Interface Woff2Out

All Known Implementing Classes:
Woff2MemoryOut

interface Woff2Out
Output interface for the woff2 decoding. Writes to arbitrary offsets are supported to facilitate updating offset table and checksums after tables are ready. Reading the current size is supported so a 'loca' table can be built up while writing glyphs. By default limits size to kDefaultMaxSize.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    write(byte[] buf, int buff_offset, int n)
     
    void
    write(byte[] buf, int buff_offset, int offset, int n)
     
  • Method Details

    • write

      void write(byte[] buf, int buff_offset, int n)
    • write

      void write(byte[] buf, int buff_offset, int offset, int n)
    • size

      int size()