Mistake on this page?
Report an issue in GitHub or email us
Data Structures
ac_buffer.h File Reference
#include "stdint.h"
#include "stddef.h"
#include "stdbool.h"

Go to the source code of this file.

Data Structures

struct  __ac_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) More...
void ac_buffer_dup (ac_buffer_t *pBuf, const ac_buffer_t *pBufIn)
 Copy pBufIn to pBuf. More...
static const uint8_t * ac_buffer_data (const ac_buffer_t *pBuf)
 Get buffer's underlying byte array. More...
static size_t ac_buffer_size (const ac_buffer_t *pBuf)
 Get buffer's size. More...
static ac_buffer_tac_buffer_next (const ac_buffer_t *pBuf)
 Get next buffer in chain. More...
static void ac_buffer_set_next (ac_buffer_t *pBuf, ac_buffer_t *pNextBuf)
 Set next buffer in chain. More...
void ac_buffer_append (ac_buffer_t *pBuf, ac_buffer_t *pAppBuf)
 Append buffer to end of chain. More...
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. More...
void ac_buffer_dump (ac_buffer_t *pBuf)

Detailed Description

Donatien Garnier

Definition in file ac_buffer.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.