In protobuf-net can I have a byte field?

Yes you can. In your second phase, move the bytes into a memory stream and then deserialize as per normal byte Payload= datafromsomewhere; var ms = new MemoryStream(Payload); var req = Serializer. Deserialize(ms).

Yes you can. In your second phase, move the bytes into a memory stream and then deserialize as per normal. Byte Payload= datafromsomewhere; var ms = new MemoryStream(Payload); var req = Serializer.

Deserialize(ms).

Yes, both byte and byte are supported; the latter maps to bytes in the . Proto spec. This is actually the same as how a sub-message is normally represented anyway.

Just let the serializer know about the member (most simply: by adding an attribute such as ProtoMember(3)).

Does the byte field map to anything in the . Proto spec? Or will I need to find a different way to deserialize binary data written with byte fields?

Thanks! – Toolbox Aug 25 at 19:15 @Toolbox one byte? Or many bytes?

Varint (used for int/uint) would take 1 byte for 0-127 and 2 bytes for 128-255; bytes maps to multiple bytes cleanly. – Marc Gravell? Aug 29 at 19:10.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions