From 615215d3137d6bd753cbd855928a4dbea105fd05 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 20 Aug 2017 15:27:52 +0200 Subject: stream --- car/pb_stream.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 car/pb_stream.h (limited to 'car/pb_stream.h') diff --git a/car/pb_stream.h b/car/pb_stream.h new file mode 100644 index 0000000..00be77c --- /dev/null +++ b/car/pb_stream.h @@ -0,0 +1,12 @@ +#ifndef PB_STREAM +#define PB_STREAM + +#include +#include +#include "pb_encode.h" +#include "pb_decode.h" + +void pb_istream_from_stream(Stream &stream, pb_istream_t &istream); +void pb_ostream_from_stream(Print &stream, pb_ostream_t &ostream); + +#endif -- cgit v1.2.3