4 ms·
This PNG parser in Elixir uses pattern matching in an elegant way. https://gist.github.com/zabirauf/29c89a084901cab8bc6b https://gist.github.com/zabirauf/29c89
by zer01 7y ago
This PNG parser in Elixir uses pattern matching in an elegant way.
https://gist.github.com/zabirauf/29c89a084901cab8bc6b https://gist.github.com/zabirauf/29c89a084901cab8bc6b
Parsing binary data can be...nontrivial. The beauty is in the code that doesn't exist.