protobuf is not designed to match up to existing binary formats. It is a 
specification that allows protobuf implementations to read/write messages in a 
cross platform way. Things like “text” protobuf are human readable. 

> On Mar 18, 2019, at 12:42 PM, Burak Serdar <bser...@ieee.org> wrote:
> 
>> On Mon, Mar 18, 2019 at 11:39 AM R Srinivasan <s...@srin.me> wrote:
>> 
>> Dont follow you. There is a way to indicate a particular field is uint16 in 
>> the proto3 language? please clarify. thanks, srini
> 
> 
> There are only 32- and 64-bit variants, according to
> https://developers.google.com/protocol-buffers/docs/proto3#simple
> 
> 
> 
>> 
>>> On Monday, March 18, 2019 at 1:08:58 PM UTC-4, Tamás Gulácsi wrote:
>>> 
>>> Protobuf is a data interchange format, good to publish that legacy binary - 
>>> after you've parsed it.
>>> As such you are free to put that uing16 value into an uint32...
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to