I recommend you take a look at the documentation for this function, there are some cool options to it, for example, you can compress the binary output using the compressed
option like this:
:erlang.term_to_binary(data, compressed: 6)
I recommend you take a look at the documentation for this function, there are some cool options to it, for example, you can compress the binary output using the compressed
option like this:
:erlang.term_to_binary(data, compressed: 6)