pack & unpack, having deleted spaces in the byte stream