#include <stream.h>
BZ2Stream uses libbzip2 (http://www.bzip.org) for reading/writing compressed data in the BZ2 format.
Definition at line 171 of file stream.h.
◆ BZ2Stream()
◆ decompress()
void rosbag::BZ2Stream::decompress |
( |
uint8_t * |
dest, |
|
|
unsigned int |
dest_len, |
|
|
uint8_t * |
source, |
|
|
unsigned int |
source_len |
|
) |
| |
|
virtual |
◆ getCompressionType()
◆ read()
void rosbag::BZ2Stream::read |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
◆ startRead()
void rosbag::BZ2Stream::startRead |
( |
| ) |
|
|
virtual |
◆ startWrite()
void rosbag::BZ2Stream::startWrite |
( |
| ) |
|
|
virtual |
◆ stopRead()
void rosbag::BZ2Stream::stopRead |
( |
| ) |
|
|
virtual |
◆ stopWrite()
void rosbag::BZ2Stream::stopWrite |
( |
| ) |
|
|
virtual |
◆ write()
void rosbag::BZ2Stream::write |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
◆ block_size_100k_
int rosbag::BZ2Stream::block_size_100k_ |
|
private |
compression block size (1-9; 9 default). 9 is best compression, most memory
Definition at line 190 of file stream.h.
◆ bzerror_
int rosbag::BZ2Stream::bzerror_ |
|
private |
last error from bzlib
Definition at line 194 of file stream.h.
◆ bzfile_
BZFILE* rosbag::BZ2Stream::bzfile_ |
|
private |
bzlib compressed file stream
Definition at line 193 of file stream.h.
◆ verbosity_
int rosbag::BZ2Stream::verbosity_ |
|
private |
level of debugging output (0-4; 0 default). 0 is silent, 4 is max verbose debugging output
Definition at line 189 of file stream.h.
◆ work_factor_
int rosbag::BZ2Stream::work_factor_ |
|
private |
compression behavior for worst case, highly repetitive data (0-250; 30 default)
Definition at line 191 of file stream.h.
The documentation for this class was generated from the following files: