18#ifndef _DECAF_IO_BUFFEREDOUTPUTSTREAM_H_
19#define _DECAF_IO_BUFFEREDOUTPUTSTREAM_H_
37 unsigned char* buffer;
108 void init(
int bufferSize);
Wrapper around another output stream that buffers output before writing to the target output stream.
Definition: BufferedOutputStream.h:31
virtual ~BufferedOutputStream()
virtual void doWriteArray(const unsigned char *buffer, int size)
BufferedOutputStream(OutputStream *stream, int bufferSize, bool own=false)
Constructor.
virtual void doWriteByte(unsigned char c)
virtual void doWriteArrayBounded(const unsigned char *buffer, int size, int offset, int length)
BufferedOutputStream(OutputStream *stream, bool own=false)
Constructor.
virtual void flush()
inheritDoc}
This class is the superclass of all classes that filter output streams.
Definition: FilterOutputStream.h:49
Base interface for any class that wants to represent an output stream of bytes.
Definition: OutputStream.h:39
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25