imagineer icon indicating copy to clipboard operation
imagineer copied to clipboard

Avoid Enum.join when working with raw binaries

Open jbowtie opened this issue 7 years ago • 1 comments

In Elixir 1.6 two tests fail -- this is because Enum.join is converting items to UTF-8 strings.

This pull request uses iodata_to_binary and list_to_bin instead of Enum.join when calling zlib since we are working with raw binary data.

jbowtie avatar Jan 28 '18 21:01 jbowtie

I tested this fix and it works 👍 thanks @jbowtie

altyaper avatar May 11 '18 09:05 altyaper