Exemplo n.º 1
0
 public static void WriteSByteNullable(this NetworkWriter writer, sbyte?value)
 {
     writer.WriteBool(value.HasValue);
     if (value.HasValue)
     {
         writer.WriteSByte(value.Value);
     }
 }