#include <stream.h>
Public Member Functions | |
void | decompress (uint8_t *dest, unsigned int dest_len, uint8_t *source, unsigned int source_len) |
CompressionType | getCompressionType () const |
LZ4Stream (ChunkedFile *file) | |
void | read (void *ptr, size_t size) |
void | startRead () |
void | startWrite () |
void | stopRead () |
void | stopWrite () |
void | write (void *ptr, size_t size) |
~LZ4Stream () | |
Private Member Functions | |
void | writeStream (int action) |
Private Attributes | |
int | block_size_id_ |
char * | buff_ |
int | buff_size_ |
roslz4_stream | lz4s_ |
rosbag::LZ4Stream::LZ4Stream | ( | ChunkedFile * | file | ) |
Definition at line 45 of file lz4_stream.cpp.
Definition at line 51 of file lz4_stream.cpp.
void rosbag::LZ4Stream::decompress | ( | uint8_t * | dest, |
unsigned int | dest_len, | ||
uint8_t * | source, | ||
unsigned int | source_len | ||
) | [virtual] |
Implements rosbag::Stream.
Definition at line 187 of file lz4_stream.cpp.
CompressionType rosbag::LZ4Stream::getCompressionType | ( | ) | const [virtual] |
Implements rosbag::Stream.
Definition at line 55 of file lz4_stream.cpp.
void rosbag::LZ4Stream::read | ( | void * | ptr, |
size_t | size | ||
) | [virtual] |
Implements rosbag::Stream.
Definition at line 139 of file lz4_stream.cpp.
void rosbag::LZ4Stream::startRead | ( | ) | [virtual] |
Reimplemented from rosbag::Stream.
Definition at line 120 of file lz4_stream.cpp.
void rosbag::LZ4Stream::startWrite | ( | ) | [virtual] |
Reimplemented from rosbag::Stream.
Definition at line 59 of file lz4_stream.cpp.
void rosbag::LZ4Stream::stopRead | ( | ) | [virtual] |
Reimplemented from rosbag::Stream.
Definition at line 183 of file lz4_stream.cpp.
void rosbag::LZ4Stream::stopWrite | ( | ) | [virtual] |
Reimplemented from rosbag::Stream.
Definition at line 114 of file lz4_stream.cpp.
void rosbag::LZ4Stream::write | ( | void * | ptr, |
size_t | size | ||
) | [virtual] |
Implements rosbag::Stream.
Definition at line 73 of file lz4_stream.cpp.
void rosbag::LZ4Stream::writeStream | ( | int | action | ) | [private] |
Definition at line 81 of file lz4_stream.cpp.
int rosbag::LZ4Stream::block_size_id_ [private] |
char* rosbag::LZ4Stream::buff_ [private] |
int rosbag::LZ4Stream::buff_size_ [private] |
roslz4_stream rosbag::LZ4Stream::lz4s_ [private] |