public static DateTime?ReadNullableDate(this ITypeReader reader) { var dateData = reader.ReadLong(); if (dateData == 0) { return(null); } return(DateTime.FromBinary(dateData)); }
protected override void DeserializeResponseBody(ITypeReader typeReader) { SourceTicks = typeReader.ReadLong(); }