unpack a string as an array of characters. you must provide the bytesize of the string being decoded, otherwise the decoder will unpack till the end of the buffer