short = ReadShort(id[, flags])
id
and returns it. Reading starts from the current file cursor
position which you can modify using the Seek() command. Since
ReadShort()
reads a 16-bit integer from the file, the file cursor
will be advanced by 2 bytes.
The flags
parameter may be a combination of the following flags:
#IO_UNSIGNED:
#IO_SIGNED:
#IO_LITTLEENDIAN:
#IO_UNSIGNED
) (V9.0)