123456789101112131415 |
- #pragma once
- #include <pb.h>
- /// Set of helper methods that simplify nanopb usage in C++.
- namespace bell::nanopb {
- bool encodeString(pb_ostream_t* stream, const pb_field_t* field,
- void* const* arg);
- bool encodeVector(pb_ostream_t* stream, const pb_field_t* field,
- void* const* arg);
- bool encodeBoolean(pb_ostream_t* stream, const pb_field_t* field,
- void* const* arg);
- } // namespace bell::nanopb
|