Comms CCF
This is a simple communication layer based on COBS, CBOR and FNV-1A
Loading...
Searching...
No Matches
Cobs::Encoder Class Reference

#include <cobs.hpp>

Public Types

using difference_type = ptrdiff_t
using value_type = uint8_t

Public Member Functions

template<size_t Extent>
 Encoder (std::span< const uint8_t, Extent > _data)
template<size_t Extent>
 Encoder (std::span< uint8_t, Extent > span)
Encoder begin () const
std::nullptr_t end () const
value_type operator* () const
Encoderoperator++ ()
Encoder operator++ (int)
bool operator!= (std::nullptr_t) const

Detailed Description

Encodes data from a buffer (given at constructino time) to the output of the iterator.

Note
Encoder is itself the iterator.

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