webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
woff2::WOFF2Out Class Referenceabstract

#include <woff2_out.h>

Inheritance diagram for woff2::WOFF2Out:
woff2::WOFF2MemoryOut woff2::WOFF2StringOut

Public Member Functions

virtual ~WOFF2Out (void)
 
virtual bool Write (const void *buf, size_t n)=0
 
virtual bool Write (const void *buf, size_t offset, size_t n)=0
 
virtual size_t Size ()=0
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~WOFF2Out()

virtual woff2::WOFF2Out::~WOFF2Out ( void  )
inlinevirtual

Member Function Documentation

◆ Size()

virtual size_t woff2::WOFF2Out::Size ( )
pure virtual

◆ Write() [1/2]

virtual bool woff2::WOFF2Out::Write ( const void buf,
size_t  n 
)
pure virtual

◆ Write() [2/2]

virtual bool woff2::WOFF2Out::Write ( const void buf,
size_t  offset,
size_t  n 
)
pure virtual

The documentation for this class was generated from the following file: