handle ints larger than one byte (possibly incorrectly). Fails on PB_FLOAT