示例#1
0
 public static unsafe void Write(WriterState writer, Guid val)
 {
     writer.Write((byte)SerializedType.Guid);
     val.TryWriteBytes(writer.Reserve(sizeof(Guid)));
 }
示例#2
0
 public static unsafe void WriteValue(WriterState writer, Guid val)
 {
     val.TryWriteBytes(writer.Reserve(sizeof(Guid)));
 }