Mbed OS Reference
|
Go to the source code of this file.
Functions | |
Buffer Reader | |
void | ac_buffer_read_be (ac_buffer_t *pBuf, uint8_t *buf, size_t size) |
Read n-bytes in big-endian format from buffer reader and advance read posiion. More... | |
void | ac_buffer_read_le (ac_buffer_t *pBuf, uint8_t *buf, size_t size) |
Read n-bytes in little-endian format from buffer reader and advance read posiion. More... | |
void | ac_buffer_read_n_skip (ac_buffer_t *pBuf, size_t size) |
Skip n bytes from buffer reader and advance read posiion. More... | |
size_t | ac_buffer_reader_readable (const ac_buffer_t *pBuf) |
Get number of bytes readable from buffer. More... | |
const uint8_t * | ac_buffer_reader_current_buffer_pointer (ac_buffer_t *pBuf) |
Get a pointer to the current position within this buffer's current backing array. More... | |
size_t | ac_buffer_reader_current_buffer_length (ac_buffer_t *pBuf) |
Get the number of bytes readable within the current backing array. More... | |
bool | ac_buffer_reader_cmp_bytes (const ac_buffer_t *pBuf, const uint8_t *bytes, size_t length) |
Compare buffer with array (does not advance read position) More... | |
bool | ac_buffer_reader_cmp (const ac_buffer_t *pBuf1, const ac_buffer_t *pBuf2) |
Compare buffer with array (does not advance read position) More... | |
Definition in file ac_buffer_reader.h.