33 #ifndef WOFF2_WOFF2_OUT_H_ 34 #define WOFF2_WOFF2_OUT_H_ 65 virtual bool Write(
const void *
buf,
size_t n) = 0;
69 virtual bool Write(
const void *buf,
size_t offset,
size_t n) = 0;
71 virtual size_t Size() = 0;
84 bool Write(
const void *buf,
size_t n)
override;
85 bool Write(
const void *buf,
size_t offset,
size_t n)
override;
86 size_t Size()
override {
return offset_; }
88 void SetMaxSize(
size_t max_size);
103 bool Write(
const void *buf,
size_t n)
override;
104 bool Write(
const void *buf,
size_t offset,
size_t n)
override;
105 size_t Size()
override {
return offset_; }
114 #endif // WOFF2_WOFF2_OUT_H_ size_t Size() override
Definition: woff2_out.h:105
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: gl2ext.h:134
size_t MaxSize()
Definition: woff2_out.h:87
size_t Size() override
Definition: woff2_out.h:86
EGLStreamKHR EGLint n
Definition: eglext.h:984
EGLStreamKHR EGLint EGLint offset
Definition: eglext.h:984
unsigned char uint8_t
Definition: ptypes.h:89
virtual ~WOFF2Out(void)
Definition: woff2_out.h:61
const size_t kDefaultMaxSize
Definition: woff2_out.h:45
Definition: woff2_out.h:59
GLsizei const GLchar *const * string
Definition: gl2.h:479
Definition: woff2_out.h:98
virtual bool Write(const void *buf, size_t n)=0
Definition: woff2_out.h:77