In protobuf-net can i have a byte field? Is a byte array field part of the protocol buffers spec?
Basically I want to transmit various objects over the wire. In this case the byte[] Payload will be another protocol buffer serialised object. I do this so i don’t need to specificy type
thanks
public sealed class CellUpdateTransmission
{
public int RowIndex { get; private set; }
public int CellIndex { get; private set; }
public byte[] Payload {get;private set;}
yes you can. In your second phase, move the bytes into a memory stream and then deserialize as per normal.