====== UnpackShortX ====== {{tag>packing}} * ''int UnpackShort1(int packed)'' * ''int UnpackShort2(int packed)'' ===== Description ===== Return the first and second two bytes respectively from the integer. The result is interpreted as a signed short (-32768 to 32767). Intended to extract values packed with [[PackShorts]]. ===== Examples ===== See [[PackShorts]] for examples.