Binary
Description: | Represents binary data |
Annotation: | binary |
Literal Syntax: | 0x[ffffffff] - hex-based binary representation |
0o[1234567] - octal-based binary representation | |
0b[10101010101] - binary-based binary representation | |
Casts: | into binary |
See also: | Types of data - Binary |
Additional Language Notes
Incomplete bytes are left-padded with zeros.
Spaces can be used to improve readability. For example,
0x[ffff ffff]
.
Common commands that can be used with binary
into bits
bits
subcommands (seehelp bits
for a list)bytes
subcommands (seehelp bytes
for a list)encode
take