public static long?ReadCompressedNullableLong(this IReadBytes stream)
 {
     if (!stream.ReadCompressedBool())
     {
         return(null);
     }
     return(stream.ReadCompressedLong());
 }
 public static TimeStamp ReadCompressedTimeStamp(this IReadBytes stream)
 {
     return(new TimeStamp(stream.ReadCompressedLong()));
 }
Example #3
0
 public static DateTime ReadCompressedDateTime(this IReadBytes stream)
 {
     return(new DateTime(stream.ReadCompressedLong(), stream.ReadCompressedEnum <DateTimeKind>()));
 }