diff options
author | Josh Haberman <haberman@google.com> | 2013-05-11 16:45:38 -0700 |
---|---|---|
committer | Josh Haberman <haberman@google.com> | 2013-05-11 16:45:38 -0700 |
commit | cfdb9907cb87d15eaab72ceefbfa42fd7a4c3127 (patch) | |
tree | 63f5d70ad64daeeb4ffc777c2c3afd50e2e281b1 /upb/bytestream.proto | |
parent | 7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 (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.proto | 14 |
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; +} |