Esempio n. 1
0
        public object Read(byte[] buffer, int index)
        {
            var ticks = ByteOrder.GetLongBE(buffer, index);

            return(DateTimeHelper.IsValidTicks(ticks)
                ? new DateTime(ticks, kind)
                : default);
Esempio n. 2
0
 public object Read(byte[] buffer, int index)
 {
     return(ByteOrder.GetLongBE(buffer, index));
 }
Esempio n. 3
0
 public object Read(byte[] buffer, int index)
 {
     return(BytesHelper.Int64ToDouble(ByteOrder.GetLongBE(buffer, index)));
 }