Mbed OS Reference
Loading...
Searching...
No Matches
buffer_s Struct Reference

Generic buffer structure. More...

#include <buffer.h>

Data Fields

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

Detailed Description

Generic buffer structure.

Definition at line 27 of file buffer.h.

Field Documentation

◆ buffer

void* buffer

the pointer to a buffer

Definition at line 28 of file buffer.h.

◆ length

size_t length

the buffer length

Definition at line 29 of file buffer.h.

◆ pos

size_t pos

actual buffer position

Definition at line 30 of file buffer.h.

◆ width

uint8_t width

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

Definition at line 31 of file buffer.h.