int = ReadInt(id[, flags])
id
and
returns it. Reading starts from the current file cursor position which
you can modify using the Seek() command. By default,
ReadInt()
will read a 32-bit integer, advancing the file cursor by
4 bytes.
The flags
parameter may be a combination of the following flags:
#IO_SIGNED:
#IO_FAKE64
isn't set). This is the default.
#IO_UNSIGNED:
#IO_FAKE64
.
#IO_LITTLEENDIAN:
#IO_FAKE64:
#IO_FAKE64
you can
read integers in the range of -9007199254740992 to 9007199254740992.
Note that #IO_UNSIGNED
can't be used with #IO_FAKE64
. Hollywood's fake
64-bit integers will always be signed. (V9.0)
#IO_SIGNED
) (V9.0)