decodePost

fun decodePost(hi: Int, lo: Int): Int

Decode a big-endian post from bytes hi/lo. DTED elevations are sign-magnitude (bit 15 = sign), not two's complement; returns metres, or INVALID_POST for NODATA / out-of-range.