mbed library sources

Fork of mbed-src by mbed official

Embed: (wiki syntax)

« Back to documentation index

buffer_s Struct Reference

buffer_s Struct Reference

Generic buffer structure. More...

#include <buffer.h>

Data Fields

void * buffer
 the pointer to a buffer
size_t length
 the buffer length
size_t pos
 actual buffer position
uint8_t width
 The buffer unit width (8, 16, 32, 64), used for proper *buffer casting.

Detailed Description

Generic buffer structure.

Definition at line 23 of file buffer.h.


Field Documentation

void* buffer

the pointer to a buffer

Definition at line 24 of file buffer.h.

size_t length

the buffer length

Definition at line 25 of file buffer.h.

size_t pos

actual buffer position

Definition at line 26 of file buffer.h.

uint8_t width

The buffer unit width (8, 16, 32, 64), used for proper *buffer casting.

Definition at line 27 of file buffer.h.