# SFBByteBuffer Class Reference

Base class providing services common to SFBRxByteBuffer and SFBTxByteBuffer. More...

`#include <SFBByteBuffer.h>`

Inheritance diagram for SFBByteBuffer:

[legend]

## Protected Types
enum | { BB_ESC = 0xA5, BB_EESC = 0x00 }
## Protected Member Functions
| SFBByteBuffer (u8(&buffer)[BYTE_BUFFER_BYTES])
u16 | spaceAvailable ()
u16 | bytesAvailable ()
u16 | wrap (u16 index)
void | uncheckedStoreByte (u8 data)
u8 | uncheckedFetchByte ()
## Protected Attributes
u8(& | buf )[BYTE_BUFFER_BYTES]
u16 | oldIndex
u16 | newIndex

## Detailed Description

Base class providing services common to SFBRxByteBuffer and SFBTxByteBuffer.

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

- src/include/SFBByteBuffer.h