Skip to main content
Pigweed's logo Pigweed
  1. Home
  2. Reference
  3. C/C++
  4. pw_hdlc
  5. pw::hdlc::Encoder Class Reference
Loading...
Searching...
No Matches
pw::hdlc::Encoder Class Reference

Overview

Encodes and writes HDLC frames.

Public Member Functions

constexpr Encoder (stream::Writer &output)
 Constructs 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: