Tutorial by Examples: bitstrings

A binary is a sequence of unsigned 8-bit bytes. 1> <<1,2,3,255>>. <<1,2,3,255>> 2> <<256,257,258>>. <<0,1,2>> 3> <<"hello","world">>. <<"helloworld">> A bitstring is a generalized ...
Binaries in elixir are created using the Kernel.SpecialForms construct <<>>. They are a powerful tool which makes Elixir very useful for working with binary protocols and encodings. Binaries and bitstrings are specified using a comma delimited list of integers or variable values, booke...

Page 1 of 1