santook
Member
Limited to my ability to master English, the following comes from the translation tool。
Although the existing ULongsFromBytes data type conversion methods, but for protocol analysis is not very convenient. Is it possible that these methods are consistent with the ToUInt32 provided by the ByteConversion class of VB.NET?
Although the existing ULongsFromBytes data type conversion methods, but for protocol analysis is not very convenient. Is it possible that these methods are consistent with the ToUInt32 provided by the ByteConversion class of VB.NET?
B4X:
ByteConverter.ToINT(data() as byte,byte start)as INT
ByteConverter.ToUINT(data() as byte,byte start)as UINT
ByteConverter.ToLONG(data() as byte,byte start)as LONG
ByteConverter.ToULONG(data() as byte,byte start)as ULONG
ByteConverter.ToFLOAT(data() as byte,byte start)as FLOAT
ByteConverter.ToDOUBLE(data() as byte,byte start)as DOUBLE
ByteConverter.FromINT(data as int) as byte()
ByteConverter.FromUINT(data as uint) as byte()
ByteConverter.FromLONG(data as long) as byte()
ByteConverter.FromULONG(data as ulong) as byte()
ByteConverter.FromFLOAT(data as float) as byte()
ByteConverter.FromDOUBLE(data as double) as byte()