Module base16b

Source
Expand description

Implements the Base16b format.

Based on https://web.archive.org/web/20090902074623/http://www.base16b.org/doc/specification/version/0.1/base16b.pdf Note that the Base16b and Basenb formats provided here are different from the Base16b formats in the specification, due to what appears to be a bug in the specification (requiring the remainder length to be stored to decode the remainder correctly when it starts with a 0 bit and is not 16 bits long).

Structsยง

CpValue ๐Ÿ”’

Constantsยง

AS_START ๐Ÿ”’

Functionsยง

char_bytes ๐Ÿ”’
char_bytes_fixed ๐Ÿ”’
decode
Decode a string encoded in the Asyntactic script. Return an array of pseudo-booleans (0 or 1).
encode
Encode an array of pseudo-booleans (0 or 1) to a string using the Asyntactic script.
fixed_char_code_at ๐Ÿ”’
fixed_from_char_code ๐Ÿ”’
from_code_point ๐Ÿ”’
invert_val ๐Ÿ”’
noncont ๐Ÿ”’
to_code_point ๐Ÿ”’
true_length
Public: count Unicode characters in the way Base16b does