dlvhex
2.5.0
|
Base class for all decoding functionality. More...
#include <vs10/bm/encoding.h>
Public Member Functions | |
decoder_base (const unsigned char *buf) | |
BMFORCEINLINE unsigned char | get_8 () |
Reads character from the decoding buffer. | |
BMFORCEINLINE unsigned | size () const |
Returns size of the current decoding stream. | |
BMFORCEINLINE void | seek (int delta) |
change current position | |
decoder_base (const unsigned char *buf) | |
BMFORCEINLINE unsigned char | get_8 () |
Reads character from the decoding buffer. | |
BMFORCEINLINE unsigned | size () const |
Returns size of the current decoding stream. | |
BMFORCEINLINE void | seek (int delta) |
change current position | |
Protected Attributes | |
const unsigned char * | buf_ |
const unsigned char * | start_ |
Base class for all decoding functionality.
Definition at line 74 of file encoding.h.
bm::decoder_base::decoder_base | ( | const unsigned char * | buf | ) | [inline] |
Definition at line 77 of file encoding.h.
bm::decoder_base::decoder_base | ( | const unsigned char * | buf | ) | [inline] |
Definition at line 77 of file encoding.h.
BMFORCEINLINE unsigned char bm::decoder_base::get_8 | ( | ) | [inline] |
Reads character from the decoding buffer.
Definition at line 79 of file encoding.h.
References buf_.
Referenced by bm::operation_deserializer< BV >::deserialize(), and bm::deserialize().
BMFORCEINLINE unsigned char bm::decoder_base::get_8 | ( | ) | [inline] |
Reads character from the decoding buffer.
Definition at line 79 of file encoding.h.
References buf_.
BMFORCEINLINE void bm::decoder_base::seek | ( | int | delta | ) | [inline] |
BMFORCEINLINE void bm::decoder_base::seek | ( | int | delta | ) | [inline] |
change current position
Definition at line 85 of file encoding.h.
References buf_.
Referenced by bm::decoder::get_16(), bm::decoder_little_endian::get_16(), bm::decoder::get_32(), and bm::decoder_little_endian::get_32().
BMFORCEINLINE unsigned bm::decoder_base::size | ( | ) | const [inline] |
Returns size of the current decoding stream.
Definition at line 82 of file encoding.h.
BMFORCEINLINE unsigned bm::decoder_base::size | ( | ) | const [inline] |
Returns size of the current decoding stream.
Definition at line 82 of file encoding.h.
const unsigned char * bm::decoder_base::buf_ [protected] |
Definition at line 87 of file encoding.h.
Referenced by decoder_base(), bm::decoder::get_16(), bm::decoder_little_endian::get_16(), bm::decoder::get_32(), bm::decoder_little_endian::get_32(), get_8(), seek(), and size().
const unsigned char * bm::decoder_base::start_ [protected] |
Definition at line 88 of file encoding.h.
Referenced by decoder_base(), and size().