Skip to content

Commit 06cf5d0

Browse files
committed
Added base64 codec docs
1 parent ab71c3f commit 06cf5d0

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

Doc/lib/libbinascii.tex

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@ \section{Built-in Module \sectcode{binascii}} % If implemented in C
9696
should be at most 45.
9797
\end{funcdesc}
9898

99+
\begin{funcdesc}{a2b_base64}{string}
100+
Convert a block of base64 data back to binary and return the
101+
binary data. More than one line may be passed at a time.
102+
\end{funcdesc}
103+
104+
\begin{funcdesc}{b2a_base64}{data}
105+
Convert binary data to a line of ascii characters in base64 coding.
106+
The return value is the converted line, including a newline char.
107+
The length of \var{data} should be at most 57 to adhere to the base64
108+
standard.
109+
\end{funcdesc}
110+
99111
\begin{funcdesc}{a2b_hqx}{string}
100112
Convert binhex4 formatted ascii data to binary, without doing
101113
rle-decompression. The string should contain a complete number of

Doc/libbinascii.tex

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@ \section{Built-in Module \sectcode{binascii}} % If implemented in C
9696
should be at most 45.
9797
\end{funcdesc}
9898

99+
\begin{funcdesc}{a2b_base64}{string}
100+
Convert a block of base64 data back to binary and return the
101+
binary data. More than one line may be passed at a time.
102+
\end{funcdesc}
103+
104+
\begin{funcdesc}{b2a_base64}{data}
105+
Convert binary data to a line of ascii characters in base64 coding.
106+
The return value is the converted line, including a newline char.
107+
The length of \var{data} should be at most 57 to adhere to the base64
108+
standard.
109+
\end{funcdesc}
110+
99111
\begin{funcdesc}{a2b_hqx}{string}
100112
Convert binhex4 formatted ascii data to binary, without doing
101113
rle-decompression. The string should contain a complete number of

0 commit comments

Comments
 (0)