From cfdb9907cb87d15eaab72ceefbfa42fd7a4c3127 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Sat, 11 May 2013 16:45:38 -0700 Subject: 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. --- upb/bytestream.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 upb/bytestream.proto (limited to 'upb/bytestream.proto') 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 +// +// 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; +} -- cgit v1.2.3