ResourceStream REALbasic Plugin

ResourceStream.ReadShort Method

Use this function to read a short integer value into a REALbasic integer variable.

ReadShort() as Integer

Parameters

Returns

Integer

Remarks

The result is returned in same endian as the running system is, if you need to swap the endian then use the endian swap functions from UtilsLib to handle that.

See Also

ResourceStream Class