CALL: custom short/int encoding logic
- FIX: encode short/int values compactly using 1/2/4/5 bytes