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)); }
public object Read(byte[] buffer, int index) { return(ByteOrder.GetIntLE(buffer, index)); }
public object Read(byte[] buffer, int index) { return(BytesHelper.Int32ToFloat(ByteOrder.GetIntLE(buffer, index))); }