Simple way to concat and slice arrays through bytewise encoding and decoding.