package b0
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.std/B0_base64/index.html
Module B0_base64
Source
base64
and base64url
codecs.
As defined in RFC 4684, with or without padding. Decoding errors on non-canonical encodings to ensure that no two different encodings decode to the same byte sequence (see this paper).
Encoding and padding specification
The type for specifing padding.
Decoding errors
The type for decoding errors.
error_message enc e
is an error message for error e
while decoding encoding enc
.
base64
encode p s
is the base64
encoding of s
padded according to p
.
decode' p s
is the base64
decode of s
. If p
is:
`Padding
the decode expects a padded encoding. The decode errors withInvalid_length
if the padding is missing.`Unpadded
the decode expect no padding. The decode errors withInvalid_letter
if there is a padding.
All decodes error with Non_canonical_encoding
if a padding letter has a non-zero padding.
decode
is like decode'
with errors mapped by error_message
`Base64
.
base64url
decode_base64url
is like decode_base64url'
with errors mapped by error_message
`Base64url
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page