writer readers for int based packing
add both orders as we might want to change our encoding in the future