Bit Syntax

Erlang’s pattern-matching construct for binaries: expressions of the form <<Field:Size/Type, ...>> that both parse and construct bitstrings at arbitrary bit offsets. It makes network-protocol and file-format code declarative and safe.

In this vault

Backlinks