mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
15 lines
455 B
C++
15 lines
455 B
C++
#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
|