summaryrefslogtreecommitdiff
path: root/upb/bytestream.proto
diff options
context:
space:
mode:
authorJosh Haberman <haberman@google.com>2013-05-11 16:45:38 -0700
committerJosh Haberman <haberman@google.com>2013-05-11 16:45:38 -0700
commitcfdb9907cb87d15eaab72ceefbfa42fd7a4c3127 (patch)
tree63f5d70ad64daeeb4ffc777c2c3afd50e2e281b1 /upb/bytestream.proto
parent7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 (diff)
Synced with 3 months of Google-internal development.
Major changes: - Got rid of all bytestream interfaces in favor of using regular handlers. - new Pipeline object represents a upb pipeline, does bump allocation internally to manage memory. - proto2 support now can handle extensions.
Diffstat (limited to 'upb/bytestream.proto')
-rw-r--r--upb/bytestream.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/upb/bytestream.proto b/upb/bytestream.proto
new file mode 100644
index 0000000..1287925
--- /dev/null
+++ b/upb/bytestream.proto
@@ -0,0 +1,14 @@
+//
+// upb - a minimalist implementation of protocol buffers.
+//
+// Copyright (c) 2013 Google Inc. See LICENSE for details.
+// Author: Josh Haberman <jhaberman@gmail.com>
+//
+// This file contains a proto definition for use by handlers that consume a
+// simple byte stream (like traditional UNIX pipes).
+
+package upb;
+
+message ByteStream {
+ optional bytes bytes = 1;
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback