/// <inheritdoc/>
 protected override void WriteValue(ref WriteContext context, byte[] value)
 {
     context.WriteBytes(UnsafeByteOperations.UnsafeWrap(value));
 }
Exemplo n.º 2
0
 /// <inheritdoc/>
 protected override void WriteValue(ref WriteContext context, Guid value)
 {
     context.WriteBytes(ByteString.CopyFrom(value.ToByteArray()));
 }