Skip to content

Commit 2d77ef6

Browse files
deploy: 8ba055e
1 parent f012662 commit 2d77ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/bit-array-syntax/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
the possible options you can use, as well as linking to the Erlang documentation
77
for further reading, but the syntax isn't exactly the same as on Erlang, so there's
88
some ambiguity as to how it exactly works. To make it easier, I wanted to write a
9-
comprehensive guide, to make it as easy as possible to understand how they work.</p><h2 id="the-basics">The basics</h2><p>Bit arrays are delimited by double angle brackets (<code>&lt;&lt;</code> and <code>&gt;&gt;</code>), and contain zero
9+
comprehensive guide, to make it as easy as possible to understand how they work.</p><h3 id="table-of-contents">Table of contents</h3><hr><ul><li><p><a href="#the-basics" target>The basics</a></p></li><li><p><a href="#segment-types" target>Segment types</a></p></li><li><p><a href="#segment-size" target>Segment size</a></p></li><li><p><a href="#endianness" target>Endianness</a></p></li><li><p><a href="#pattern-matching" target>Pattern Matching</a></p><ul><li><p><a href="#strings" target>Strings</a></p></li><li><p><a href="#bits-and-bytes" target>Bits and Bytes</a></p></li><li><p><a href="#signedness" target>Signedness</a></p></li></ul></li><li><p><a href="#javascript-support" target>JavaScript support</a></p></li><li><p><a href="#example" target>Example</a></p></li></ul><hr><h2 id="the-basics">The basics</h2><p>Bit arrays are delimited by double angle brackets (<code>&lt;&lt;</code> and <code>&gt;&gt;</code>), and contain zero
1010
or more <strong>segments</strong>, separated by commas. A segment is a value which is encoded
1111
somehow as a sequence of bits. They have no actual separation other than syntactically,
1212
they are just a way of building up a bit array out of various different parts.</p><p>A segment consists of a value, followed by a series of options using the syntax

0 commit comments

Comments
 (0)