object
base64
ï
Base64 parser and generator.
Availability:
logtalk_load(base64(loader))
Author: Paulo Moura
Version: 0:10:0
Date: 2021-03-22
Compilation flags:
static, context_switching_calls
Uses:
Remarks:
(none)
Inherited public predicates:
(none)
Public predicatesï
parse/2
ï
Parses the Base64 data from the given source (atom(Atom)
, chars(List)
, codes(List)
, stream(Stream)
, or file(Path)
into a list of bytes.
Compilation flags:
static
Template:
parse(Source,Bytes)
Mode and number of proofs:
parse(++compound,--list(byte))
- one_or_error
generate/2
ï
Generates Base64 in the representation specified in the first argument (atom(Atom)
, chars(List)
, codes(List)
, stream(Stream)
, or file(Path)
for the list of bytes in the second argument.
Compilation flags:
static
Template:
generate(Sink,Bytes)
Mode and number of proofs:
generate(+compound,+list(byte))
- one_or_error
Protected predicatesï
(no local declarations; see entity ancestors if any)
Private predicatesï
(no local declarations; see entity ancestors if any)
Operatorsï
(none)