Functions to read and write int16/32/64 from strings, bytes, and bigarrays
