private Proto.Msg.Read ReadToProto(Read read) { return(new Proto.Msg.Read { Key = read.Key }); }
private Proto.Msg.Read ReadToProto(Read read) { var proto = new Proto.Msg.Read { Key = read.Key }; if (!(read.FromNode is null)) { proto.FromNode = SerializationSupport.UniqueAddressToProto(read.FromNode); } return(proto); }