Goby3  3.1.5a
2024.05.23
cobs.h File Reference
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Functions

template<typename Byte >
std::size_t cobs_encode (const Byte *input, std::size_t length, Byte *output)
 
template<typename Byte >
std::size_t cobs_decode (const Byte *input, std::size_t length, Byte *output)
 

Function Documentation

◆ cobs_decode()

template<typename Byte >
std::size_t cobs_decode ( const Byte *  input,
std::size_t  length,
Byte *  output 
)

Definition at line 60 of file cobs.h.

◆ cobs_encode()

template<typename Byte >
std::size_t cobs_encode ( const Byte *  input,
std::size_t  length,
Byte *  output 
)

Definition at line 18 of file cobs.h.