Class Woff2MemoryOut

  • All Implemented Interfaces:
    Woff2Out

    class Woff2MemoryOut
    extends java.lang.Object
    implements Woff2Out
    Fixed memory block for woff2 out.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] buf_  
      private int buf_size_  
      private int offset_  
    • Constructor Summary

      Constructors 
      Constructor Description
      Woff2MemoryOut​(byte[] buf_, int buf_size_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int size()  
      void write​(byte[] buf, int buff_offset, int n)  
      void write​(byte[] buf, int buff_offset, int offset, int n)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • buf_

        private byte[] buf_
      • buf_size_

        private int buf_size_
      • offset_

        private int offset_
    • Constructor Detail

      • Woff2MemoryOut

        public Woff2MemoryOut​(byte[] buf_,
                              int buf_size_)
    • Method Detail

      • write

        public void write​(byte[] buf,
                          int buff_offset,
                          int n)
        Specified by:
        write in interface Woff2Out
      • write

        public void write​(byte[] buf,
                          int buff_offset,
                          int offset,
                          int n)
        Specified by:
        write in interface Woff2Out
      • size

        public int size()
        Specified by:
        size in interface Woff2Out