dlvhex
2.5.0
|
Class for decoding data from memory buffer. More...
#include <vs10/bm/encoding.h>
Public Member Functions | |
decoder_little_endian (const unsigned char *buf) | |
bm::short_t | get_16 () |
bm::word_t | get_32 () |
void | get_32 (bm::word_t *w, unsigned count) |
void | get_16 (bm::short_t *s, unsigned count) |
decoder_little_endian (const unsigned char *buf) | |
bm::short_t | get_16 () |
bm::word_t | get_32 () |
void | get_32 (bm::word_t *w, unsigned count) |
void | get_16 (bm::short_t *s, unsigned count) |
Class for decoding data from memory buffer.
Properly handles aligment issues with integer data types. Converts data to little endian architecture (presumed it was encoded as big endian)
Definition at line 124 of file encoding.h.
bm::decoder_little_endian::decoder_little_endian | ( | const unsigned char * | buf | ) | [inline] |
Definition at line 792 of file encoding.h.
bm::decoder_little_endian::decoder_little_endian | ( | const unsigned char * | buf | ) |
Definition at line 797 of file encoding.h.
References bm::decoder_base::buf_.
void bm::decoder_little_endian::get_16 | ( | bm::short_t * | s, |
unsigned | count | ||
) |
void bm::decoder_little_endian::get_16 | ( | bm::short_t * | s, |
unsigned | count | ||
) | [inline] |
Definition at line 832 of file encoding.h.
References bm::decoder_base::buf_, and bm::decoder_base::seek().
Definition at line 804 of file encoding.h.
References bm::decoder_base::buf_.
void bm::decoder_little_endian::get_32 | ( | bm::word_t * | w, |
unsigned | count | ||
) | [inline] |
Definition at line 812 of file encoding.h.
References bm::decoder_base::buf_, and bm::decoder_base::seek().
void bm::decoder_little_endian::get_32 | ( | bm::word_t * | w, |
unsigned | count | ||
) |