Supose I have a WCF service which sends List serialized with protobuf-net. That function returns byte[], application/octet-stream.
Now, in my java application I have compiled MyClass.proto into MyClass.java and get from http the data sent before.
To deserialize 1 object I shall use
MyClass MyObject = MyClass.parseFrom(http_input_stream);
But what shall I use if an array comes...?
repeated. It should just populate into the correct data structures. Assuming you managed to get the same underlying data (thebyte[]) into java that you produced in C# (check that first: all bets are off if you haven't managed to successfully transfer thebyte[])