Binaries and Pattern Matching
Learn about pattern matching in binaries.
The first rule of binaries is, “If in doubt, specify the type of each field.” Available types are binary, bits, bitstring, bytes, float, integer, utf8, utf16, and utf32. We can also add qualifiers:
size(n)