18 #ifndef _DECAF_IO_BYTEARRAYOUTPUTSTREAM_H_ 19 #define _DECAF_IO_BYTEARRAYOUTPUTSTREAM_H_ 37 unsigned char* buffer;
83 std::pair<unsigned char*, int> toByteArray()
const;
90 long long size()
const;
102 virtual std::string toString()
const;
113 virtual void doWriteByte(
unsigned char value);
115 virtual void doWriteArrayBounded(
const unsigned char* buffer,
int size,
int offset,
int length);
120 void checkExpandSize(
int needed);
Definition: ByteArrayOutputStream.h:31
#define DECAF_API
Definition: Config.h:29
Base interface for any class that wants to represent an output stream of bytes.
Definition: OutputStream.h:39
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25