short = ReadShort(id[, le])
idand returns it. Reading starts from the current file cursor position which you can modify using the Seek() command. A short takes up 2 bytes.
The returned value will be unsigned and will range from 0 to 65535. If you need to store signed values, use WriteInt() instead.
By default, this function expects the data to be stored in big endian format
(most significant byte first). Starting with Hollywood 6.0 you can use the
le to explicitly request this function to use the
little endian format instead.
Trueto read bytes in little endian order,
Falsefor big endian order (defaults to