コード例 #1
0
        public static DateTime?ReadNullableDate(this ITypeReader reader)
        {
            var dateData = reader.ReadLong();

            if (dateData == 0)
            {
                return(null);
            }

            return(DateTime.FromBinary(dateData));
        }
コード例 #2
0
 protected override void DeserializeResponseBody(ITypeReader typeReader)
 {
     SourceTicks = typeReader.ReadLong();
 }