{"action":"created","issue":{"url":"https://api.github.com/repos/google/protobuf/issues/54","labels_url":"https://api.github.com/repos/google/protobuf/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/google/protobuf/issues/54/comments","events_url":"https://api.github.com/repos/google/protobuf/issues/54/events","html_url":"https://github.com/google/protobuf/issues/54","id":45888233,"number":54,"title":"Protobuf lacks framed stream of messages","user":{"login":"brianolson","id":1033975,"avatar_url":"https://avatars.githubusercontent.com/u/1033975?v=3","gravatar_id":"","url":"https://api.github.com/users/brianolson","html_url":"https://github.com/brianolson","followers_url":"https://api.github.com/users/brianolson/followers","following_url":"https://api.github.com/users/brianolson/following{/other_user}","gists_url":"https://api.github.com/users/brianolson/gists{/gist_id}","starred_url":"https://api.github.com/users/brianolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianolson/subscriptions","organizations_url":"https://api.github.com/users/brianolson/orgs","repos_url":"https://api.github.com/users/brianolson/repos","events_url":"https://api.github.com/users/brianolson/events{/privacy}","received_events_url":"https://api.github.com/users/brianolson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-15T16:20:09Z","updated_at":"2015-02-06T15:16:19Z","closed_at":null,"body":"Lots of applications want a stream of protobuf messages in a file or a network stream.\r\n\r\nIt could be as simple as exposing the internal utility functions to write a varint to a stream. An application could then write a varint length prefix and then the blob of serialized protobuf."},"comment":{"url":"https://api.github.com/repos/google/protobuf/issues/comments/73251518","html_url":"https://github.com/google/protobuf/issues/54#issuecomment-73251518","issue_url":"https://api.github.com/repos/google/protobuf/issues/54","id":73251518,"user":{"login":"brianolson","id":1033975,"avatar_url":"https://avatars.githubusercontent.com/u/1033975?v=3","gravatar_id":"","url":"https://api.github.com/users/brianolson","html_url":"https://github.com/brianolson","followers_url":"https://api.github.com/users/brianolson/followers","following_url":"https://api.github.com/users/brianolson/following{/other_user}","gists_url":"https://api.github.com/users/brianolson/gists{/gist_id}","starred_url":"https://api.github.com/users/brianolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianolson/subscriptions","organizations_url":"https://api.github.com/users/brianolson/orgs","repos_url":"https://api.github.com/users/brianolson/repos","events_url":"https://api.github.com/users/brianolson/events{/privacy}","received_events_url":"https://api.github.com/users/brianolson/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T15:16:19Z","updated_at":"2015-02-06T15:16:19Z","body":"CodedOutputStream is in the C++ library. In Python I think what I want is buried in google.protobuf.internal.encoder._EncodeVarint and google.protobuf.internal.decoder._DecodeVarint\r\nI think it would be useful to promote these to part of the public API. If the equivalent is already in the public API in C++ then I think that means there's no reason not to in Python."}}