You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that this module returns an array of numbers. Is there a recommended way to convert the output into a string?
I could use .join(',') for example, but I feel that such approach is contrary to the idea of compression. Surely a lot more information could fit in a string if I use all printable ASCII characters instead of only numbers and a comma.
Thanks!!
The text was updated successfully, but these errors were encountered:
The question: is there a recommended way to convert this array of numbers into a string in the context of LZW? I could do compressed.join(',') of course but I think it is likely for another recommended way to exist. (Of course, I would also need a way to un-convert later as a pre-unpack step)
I've noticed that this module returns an array of numbers. Is there a recommended way to convert the output into a string?
I could use
.join(',')
for example, but I feel that such approach is contrary to the idea of compression. Surely a lot more information could fit in a string if I use all printable ASCII characters instead of only numbers and a comma.Thanks!!
The text was updated successfully, but these errors were encountered: