ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
SpinelWriter Struct Reference

A write cursor building a spinel property value into a caller buffer. More...

#include <thread.h>

Public Attributes

uint8_t * buf
 output buffer
 
uint16_t cap
 output capacity
 
uint16_t off
 bytes written so far
 
proto_bool err
 set once any write would overflow cap
 

Detailed Description

A write cursor building a spinel property value into a caller buffer.

Definition at line 138 of file thread.h.

Member Data Documentation

◆ buf

uint8_t* SpinelWriter::buf

output buffer

Definition at line 140 of file thread.h.

◆ cap

uint16_t SpinelWriter::cap

output capacity

Definition at line 141 of file thread.h.

◆ off

uint16_t SpinelWriter::off

bytes written so far

Definition at line 142 of file thread.h.

◆ err

proto_bool SpinelWriter::err

set once any write would overflow cap

Definition at line 143 of file thread.h.


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