WriteInt(id, int[, flags])
id
at
the current file cursor position which you can modify by using the
Seek() command. By default, WriteInt()
will write a
32-bit integer, advancing the file cursor by 4 bytes.
The flags
parameter may be a combination of the following flags:
#IO_SIGNED:
int
must be in the range of
-2147483648 to 2147483647 (in case #IO_FAKE64
isn't set). This is
the default.
#IO_UNSIGNED:
int
must be in the range of
0 to 4294967295. Note that #IO_UNSIGNED
cannot be combined with
#IO_FAKE64
.
#IO_LITTLEENDIAN:
#IO_FAKE64:
#IO_FAKE64
you can
write 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)