Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the signed long (four bytes) starting at the specified zero-based index in the Byte Array.

GetCRC32() as Integer

Calculates a CRC-32 of the contents of the Byte Array.

This function is available in firmware 7.5 or later.

Examples
    ba = CreateObject("roByteArray") 
ba.FromAsciiString("Hello world!")
n = ba.GetCrc32()
print n, "0x" ; StrI(n, 16)
REM 461707669 0x1b851995

GetCRC32(start as Integer, length as Integer) As Integer

Calculates a CRC-32 of a subset of the bytes in the Byte Array.

This function is available in firmware 7.5 or later.

IsLittleEndianCPU() As Boolean

...