System.ByteOrder (gb)

Static Property Read ByteOrder As Integer

Returns the byte order of the system.

It can be gb.LittleEndian or gb.BigEndian.