package batteries
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A community-maintained standard library extension
Install
dune-project
Dependency
Authors
Maintainers
Sources
v3.6.0.tar.gz
md5=1bcb27dfbd130eb057561196ef851649
sha512=2a56611b09a5f1cba6457539f8b6bc87a5f2a5454b36cdb39f6e0d6a5dac6db179aab1ba87c74dd49cc41df31a9a96feb349028ea41df7371ecb47f4d9dfafc4
doc/batteries.unthreaded/BatBase64/index.html
Module BatBase64
Base64 codec.
8-bit characters are encoded into 6-bit ones using ASCII lookup tables. Default tables maps 0..63 values on characters A-Z, a-z, 0-9, '+' and '/' (in that order).
@documents Base64
This exception is raised when reading an invalid character from a base64 input.
This exception is raised if the encoding or decoding table size is not correct.
A decoding table maps chars 0..255 to the corresponding 0..63 value or -1 if the char is not accepted.
val str_encode : ?tbl:encoding_table -> string -> stringEncode a string into Base64.
val str_decode : ?tbl:decoding_table -> string -> stringDecode a string encoded into Base64, raise Invalid_char if a character in the input string is not a valid one.
val encode : ?tbl:encoding_table -> 'a BatIO.output -> 'a BatIO.outputGeneric base64 encoding over an output.
val decode : ?tbl:decoding_table -> BatIO.input -> BatIO.inputGeneric base64 decoding over an input.
val make_decoding_table : encoding_table -> decoding_tableCreate a valid decoding table from an encoding one.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>