|
8 | 8 | .. index::
|
9 | 9 | module: uu
|
10 | 10 | module: base64
|
11 |
| - module: binhex |
12 | 11 |
|
13 | 12 | --------------
|
14 | 13 |
|
15 | 14 | The :mod:`binascii` module contains a number of methods to convert between
|
16 | 15 | binary and various ASCII-encoded binary representations. Normally, you will not
|
17 |
| -use these functions directly but use wrapper modules like :mod:`uu`, |
18 |
| -:mod:`base64`, or :mod:`binhex` instead. The :mod:`binascii` module contains |
| 16 | +use these functions directly but use wrapper modules like :mod:`uu` or |
| 17 | +:mod:`base64` instead. The :mod:`binascii` module contains |
19 | 18 | low-level functions written in C for greater speed that are used by the
|
20 | 19 | higher-level modules.
|
21 | 20 |
|
@@ -98,45 +97,6 @@ The :mod:`binascii` module defines the following functions:
|
98 | 97 | stream.
|
99 | 98 |
|
100 | 99 |
|
101 |
| -.. function:: a2b_hqx(string) |
102 |
| - |
103 |
| - Convert binhex4 formatted ASCII data to binary, without doing RLE-decompression. |
104 |
| - The string should contain a complete number of binary bytes, or (in case of the |
105 |
| - last portion of the binhex4 data) have the remaining bits zero. |
106 |
| - |
107 |
| - .. deprecated:: 3.9 |
108 |
| - |
109 |
| - |
110 |
| -.. function:: rledecode_hqx(data) |
111 |
| - |
112 |
| - Perform RLE-decompression on the data, as per the binhex4 standard. The |
113 |
| - algorithm uses ``0x90`` after a byte as a repeat indicator, followed by a count. |
114 |
| - A count of ``0`` specifies a byte value of ``0x90``. The routine returns the |
115 |
| - decompressed data, unless data input data ends in an orphaned repeat indicator, |
116 |
| - in which case the :exc:`Incomplete` exception is raised. |
117 |
| - |
118 |
| - .. versionchanged:: 3.2 |
119 |
| - Accept only bytestring or bytearray objects as input. |
120 |
| - |
121 |
| - .. deprecated:: 3.9 |
122 |
| - |
123 |
| - |
124 |
| -.. function:: rlecode_hqx(data) |
125 |
| - |
126 |
| - Perform binhex4 style RLE-compression on *data* and return the result. |
127 |
| - |
128 |
| - .. deprecated:: 3.9 |
129 |
| - |
130 |
| - |
131 |
| -.. function:: b2a_hqx(data) |
132 |
| - |
133 |
| - Perform hexbin4 binary-to-ASCII translation and return the resulting string. The |
134 |
| - argument should already be RLE-coded, and have a length divisible by 3 (except |
135 |
| - possibly the last fragment). |
136 |
| - |
137 |
| - .. deprecated:: 3.9 |
138 |
| - |
139 |
| - |
140 | 100 | .. function:: crc_hqx(data, value)
|
141 | 101 |
|
142 | 102 | Compute a 16-bit CRC value of *data*, starting with *value* as the
|
@@ -222,9 +182,6 @@ The :mod:`binascii` module defines the following functions:
|
222 | 182 | Support for RFC compliant base64-style encoding in base 16, 32, 64,
|
223 | 183 | and 85.
|
224 | 184 |
|
225 |
| - Module :mod:`binhex` |
226 |
| - Support for the binhex format used on the Macintosh. |
227 |
| - |
228 | 185 | Module :mod:`uu`
|
229 | 186 | Support for UU encoding used on Unix.
|
230 | 187 |
|
|
0 commit comments