Exemplo 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);
Exemplo n.º 2
0
 public object Read(byte[] buffer, int index)
 {
     return(ByteOrder.GetLongBE(buffer, index));
 }
Exemplo n.º 3
0
 public object Read(byte[] buffer, int index)
 {
     return(BytesHelper.Int64ToDouble(ByteOrder.GetLongBE(buffer, index)));
 }