[protobuf] Re: Javascript library: Serialization/ deserialization into bytes type gives wrong data

2021-05-10 Thread Ben B
Does anyone who uses or contributes to javascript + protobuf have any idea regarding my previous question? Thanks :) On Friday, 7 May 2021 at 19:59:10 UTC+1 Ben B wrote: > Dear Protobuf team, > > I was looking to serialize Float32's or Int16 (or other arbitrary data > type) s

[protobuf] Javascript library: Serialization/ deserialization into bytes type gives wrong data

2021-05-07 Thread Ben B
Dear Protobuf team, I was looking to serialize Float32's or Int16 (or other arbitrary data type) so I've decided to use the bytes type. Unfortunately, In Javascript, I've had to convert this data into UInt8 to serialize it. This wasn't too ergonomic because it involves using DataViews, because