Get rid of temporaries in pack_int(), 33%ish speedup.
decode_int() >50% speedup, decode_str >30%.
Avoid another temporary bound method