UnpackShortX

int UnpackShort1(int packed)

int UnpackShort2(int packed)

Description

Return the first and second two bytes of the integer interpreted as signed shorts respectively. Intended to extract values packed with PackShorts.

Examples

See PackShorts for examples.