aboutsummaryrefslogtreecommitdiff
path: root/elegoo/pb/pb_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'elegoo/pb/pb_stream.h')
-rw-r--r--elegoo/pb/pb_stream.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/elegoo/pb/pb_stream.h b/elegoo/pb/pb_stream.h
new file mode 100644
index 0000000..00be77c
--- /dev/null
+++ b/elegoo/pb/pb_stream.h
@@ -0,0 +1,12 @@
+#ifndef PB_STREAM
+#define PB_STREAM
+
+#include <Stream.h>
+#include <Print.h>
+#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