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