Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nRF51_Vdd TextLCD BME280
ac_buffer.h File Reference
Copyright (c) ARM Ltd 2013 More...
Go to the source code of this file.
Buffer | |
typedef struct __ac_buffer | ac_buffer_t |
void | ac_buffer_init (ac_buffer_t *pBuf, const uint8_t *data, size_t size) |
Initialize ac_buffer using underlying byte array, set ac_buffer's length to 0 (empty) | |
void | ac_buffer_dup (ac_buffer_t *pBuf, const ac_buffer_t *pBufIn) |
Copy pBufIn to pBuf. | |
static const uint8_t * | ac_buffer_data (const ac_buffer_t *pBuf) |
Get buffer's underlying byte array. | |
static size_t | ac_buffer_size (const ac_buffer_t *pBuf) |
Get buffer's size. | |
static ac_buffer_t * | ac_buffer_next (const ac_buffer_t *pBuf) |
Get next buffer in chain. | |
static void | ac_buffer_set_next (ac_buffer_t *pBuf, ac_buffer_t *pNextBuf) |
Set next buffer in chain. | |
void | ac_buffer_append (ac_buffer_t *pBuf, ac_buffer_t *pAppBuf) |
Append buffer to end of chain. | |
void | ac_buffer_split (ac_buffer_t *pStartBuf, ac_buffer_t *pEndBuf, ac_buffer_t *pBuf, size_t length) |
Truncate pBuf to length bytes and save the remaining bytes in pEndBuf. | |
void | ac_buffer_dump (ac_buffer_t *pBuf) |
Dump a ac_buffer's content to stdout (useful for debugging) |
Detailed Description
Copyright (c) ARM Ltd 2013
Definition in file ac_buffer.h.
Generated on Tue Jul 12 2022 15:16:04 by
