mbed-drivers
Public Member Functions | Public Attributes | List of all members
mbed::Buffer Struct Reference

#include <Buffer.h>

Public Member Functions

 Buffer (void *buf=NULL, size_t length=0)
 

Public Attributes

void * buf
 
int length
 

Detailed Description

A buffer is a (pointer to data, size of data) pair It's a convenient way of passing around a pointer to a memory region and the memory size of that region in a single object It doesn't take ownership of the pointer passed to it and it doesn't do any kind of memory management.


The documentation for this struct was generated from the following file: