roo_transport
API Documentation for roo_transport
Loading...
Searching...
No Matches
roo_transport::internal::InBuffer Class Reference

#include <in_buffer.h>

Public Types

enum  Type { kUnset , kData , kFin }
 

Public Member Functions

 InBuffer ()
 
void clear ()
 
void set (Type type, const roo::byte *payload, uint8_t size)
 
const roo::byte * data () const
 
Type type () const
 
uint8_t size () const
 

Detailed Description

Definition at line 11 of file in_buffer.h.

Member Enumeration Documentation

◆ Type

Enumerator
kUnset 
kData 
kFin 

Definition at line 13 of file in_buffer.h.

Constructor & Destructor Documentation

◆ InBuffer()

roo_transport::internal::InBuffer::InBuffer ( )
inline

Definition at line 14 of file in_buffer.h.

Member Function Documentation

◆ clear()

void roo_transport::internal::InBuffer::clear ( )
inline

◆ data()

const roo::byte * roo_transport::internal::InBuffer::data ( ) const
inline

◆ set()

void roo_transport::internal::InBuffer::set ( Type  type,
const roo::byte *  payload,
uint8_t  size 
)
inline

Definition at line 21 of file in_buffer.h.

References size(), and type().

Referenced by roo_transport::internal::Receiver::handleDataPacket().

◆ size()

uint8_t roo_transport::internal::InBuffer::size ( ) const
inline

◆ type()


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