bz2_codec.h
Go to the documentation of this file.
00001 #ifndef BZ2_CODEC_H
00002 #define BZ2_CODEC_H
00003 
00004 #include <ros/ros.h>
00005 #include <bz2_transport/BZ2Packet.h>
00006 
00007 namespace bz2_transport {
00008 
00009     class BZ2Codec {
00010         public:
00011             BZ2Codec() {}
00012             ~BZ2Codec() {}
00013 
00014             bool compress(const boost::shared_array<uint8_t> &buffer, size_t len,
00015                     BZ2Packet & out) const ;
00016 
00017             bool decompress(const BZ2Packet & in, 
00018                     boost::shared_array<uint8_t> &buffer, size_t &len) const;
00019     };
00020 
00021 
00022 }; // bz2_transport
00023 
00024 
00025 
00026 #endif // BZ2_CODEC_H


bz2_transport
Author(s): Cedric Pradalier
autogenerated on Sat Dec 28 2013 16:57:04