18#ifndef _DECAF_IO_BUFFEREDOUTPUTSTREAM_H_
19#define _DECAF_IO_BUFFEREDOUTPUTSTREAM_H_
31 class DECAF_API BufferedOutputStream:
public FilterOutputStream {
37 unsigned char* buffer;
56 BufferedOutputStream(
const BufferedOutputStream&);
57 BufferedOutputStream& operator=(
const BufferedOutputStream&);
108 void init(
int bufferSize);
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}
bool own
Definition FilterOutputStream.h:56
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
Definition BlockingByteArrayInputStream.h:25
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25