[erlang-questions] Bit Syntax and compiler Erlang/OTP R21.1
Tue Aug 20 22:13:37 CEST 2019
Bit strings could come very handy for compression algorithms too, say
Huffman coding a byte stream. Yes, at the end you may have to pad the
bitstring to get whole bytes that you can save to a file or send over the
network, but until then it's very useful that your buffer can have an
arbitrary length. Bitstrings are rarely needed, but when you need them,
it's Godsent that the language has excellent support for this data type!
On Tue, 20 Aug 2019 at 21:24, Steve Strong <steve@REDACTED> wrote:
> Or take SDI, where each word is 10bits... bitstring is invaluable.
> Sent from my iPhone
> > On 20 Aug 2019, at 20:21, Fred Hebert <mononcqc@REDACTED> wrote:
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions