I have a column in the SQL table which is of type varbinary. With the use of EF Core, I fetch the data from the table and model it to a property of Byte[] type. Now I need to deserialize the byte[] to List of doubles with the help of protobuf-net.
Earlier the same thing was being done from a js code with the help of protobufjs library using the .proto file. Now with the code migration, this needs to be done with c#. Any help is appreciated.
>(stream)` as shown in e.g. [Getting started with protobuf-net](https://stackoverflow.com/q/14535913/3744182).
>(stream) but I got the count as 0 although the array had around 1000 elements.
– codenet2502 Oct 04 '21 at 17:10>(stream)` looks OK, so is there any way you could provide a [mcve] showing what you have tried that does not work, e.g. by [editing](https://stackoverflow.com/posts/69439617/edit) your question to include your code and the `byte []` data as a base64 encoded string? If you're not sure how to encode and decode bas64 in c# see [How do I encode and decode a base64 string?](https://stackoverflow.com/q/11743160/3744182).
– dbc Oct 04 '21 at 17:14