Implemented bytes packing