Exemple #1
0
        public object Read(byte[] buffer, int index)
        {
            var lo   = ByteOrder.GetIntLE(buffer, index);
            var mid  = ByteOrder.GetIntLE(buffer, index + 4);
            var hi   = ByteOrder.GetIntLE(buffer, index + 8);
            var flag = ByteOrder.GetIntLE(buffer, index + 12);

            return(DecimalHelper.FromBits(lo, mid, hi, flag));
        }
Exemple #2
0
 public object Read(byte[] buffer, int index)
 {
     return(ByteOrder.GetIntLE(buffer, index));
 }
Exemple #3
0
 public object Read(byte[] buffer, int index)
 {
     return(BytesHelper.Int32ToFloat(ByteOrder.GetIntLE(buffer, index)));
 }