18 #ifndef _DECAF_UTIL_ZIP_DEFLATEROUTPUTSTREAM_H_ 19 #define _DECAF_UTIL_ZIP_DEFLATEROUTPUTSTREAM_H_ 50 std::vector<unsigned char>
buf;
92 bool own =
false,
bool ownDeflater =
false );
115 int bufferSize,
bool own =
false,
bool ownDeflater =
false );
125 virtual void finish();
132 virtual void close();
136 virtual void doWriteByte(
unsigned char value );
138 virtual void doWriteArrayBounded(
const unsigned char* buffer,
int size,
139 int offset,
int length );
146 virtual void deflate();
bool isDone
Definition: DeflaterOutputStream.h:53
static const std::size_t DEFAULT_BUFFER_SIZE
Definition: DeflaterOutputStream.h:55
bool ownDeflater
Definition: DeflaterOutputStream.h:52
std::vector< unsigned char > buf
The Buffer to use for.
Definition: DeflaterOutputStream.h:50
Deflater * deflater
The Deflater for this stream.
Definition: DeflaterOutputStream.h:45
This class compresses data using the DEFLATE algorithm (see specification).
Definition: Deflater.h:52
Provides a FilterOutputStream instance that compresses the data before writing it to the wrapped Outp...
Definition: DeflaterOutputStream.h:39
This class is the superclass of all classes that filter output streams.
Definition: FilterOutputStream.h:49
#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