示例#1
0
 public static byte WriteCompressedShort(ref BufferWriter writer, short value) => WriteCompressedInt(ref writer, value);
示例#2
0
 public override void SerializeToExistingBuffer(ref BufferWriter writer, in LazinatorSerializationOptions options)
示例#3
0
 public static byte WriteCompressedDateTime(ref BufferWriter writer, DateTime value) => WriteCompressedLong(ref writer, value.Ticks);
示例#4
0
 public static byte WriteCompressedNullableDateTime(ref BufferWriter writer, DateTime?value) => WriteCompressedNullableLong(ref writer, value?.Ticks);
示例#5
0
 public static byte WriteCompressedTimeSpan(ref BufferWriter writer, TimeSpan value) => WriteCompressedLong(ref writer, value.Ticks);
示例#6
0
 public static byte WriteCompressedNullableTimeSpan(ref BufferWriter writer, TimeSpan?value) => WriteCompressedNullableLong(ref writer, value?.Ticks);
示例#7
0
 public static byte WriteCompressedNullableSByte(ref BufferWriter writer, sbyte?value) => WriteCompressedNullableByte(ref writer, (byte?)value);
示例#8
0
 public static byte WriteCompressedNullableByte(ref BufferWriter writer, byte?value) => WriteCompressedNullableInt(ref writer, value);
示例#9
0
 public static byte WriteCompressedNullableULong(ref BufferWriter writer, ulong?value) => WriteCompressedNullableLong(ref writer, (long?)value);
示例#10
0
 public static byte WriteCompressedNullableUInt(ref BufferWriter writer, uint?value) => WriteCompressedNullableInt(ref writer, (int?)value);
示例#11
0
 public static byte WriteCompressedNullableShort(ref BufferWriter writer, short?value) => WriteCompressedNullableInt(ref writer, value);
示例#12
0
 public static byte WriteCompressedULong(ref BufferWriter writer, ulong value) => WriteCompressedLong(ref writer, (long)value);
示例#13
0
 public static byte WriteCompressedUInt(ref BufferWriter writer, uint value) => WriteCompressedInt(ref writer, (int)value);