Implemented DSP.pack and DSP.unpack