C/C++ API Reference
Loading...
Searching...
No Matches
pw::hdlc::Encoder Class Reference

Overview

Encodes and writes HDLC frames.

Public Member Functions

constexpr Encoder (stream::Writer &output)
 Construct an encoder which will write data to output.
 
Status StartUnnumberedFrame (uint64_t address)
 
Status WriteData (ConstByteSpan data)
 
Status FinishFrame ()
 Finishes a frame. Writes the frame check sequence and a terminating flag.
 

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