public class binascii extends Object
The binascii.java module defines the following functions:
Modifier and Type | Field and Description |
---|---|
static String |
__doc__ |
static PyString |
__doc__a2b_base64 |
static PyString |
__doc__a2b_hqx |
static PyString |
__doc__a2b_qp |
static PyString |
__doc__a2b_uu |
static PyString |
__doc__b2a_base64 |
static PyString |
__doc__b2a_hex |
static PyString |
__doc__b2a_hqx |
static PyString |
__doc__b2a_qp |
static PyString |
__doc__b2a_uu |
static PyString |
__doc__crc_hqx |
static PyString |
__doc__rlecode_hqx |
static PyString |
__doc__rledecode_hqx |
static PyString |
a2b_hex$doc |
static PyObject |
Error |
static PyObject |
Incomplete |
Constructor and Description |
---|
binascii() |
Modifier and Type | Method and Description |
---|---|
static PyString |
a2b_base64(BufferProtocol bp)
Convert a block of base64 data back to binary and return the
binary data.
|
static PyString |
a2b_hex(BufferProtocol bp) |
static PyTuple |
a2b_hqx(BufferProtocol bp)
Convert binhex4 formatted ASCII data to binary, without doing
RLE-decompression.
|
static PyString |
a2b_qp(PyObject[] arg,
String[] kws) |
static PyString |
a2b_uu(BufferProtocol bp)
Convert a single line of uuencoded data back to binary and return the
binary data.
|
static PyString |
b2a_base64(BufferProtocol bp)
Convert binary data to a line of ASCII characters in base64 coding.
|
static PyString |
b2a_hex(BufferProtocol bp) |
static PyString |
b2a_hqx(BufferProtocol bp)
Perform hexbin4 binary-to-ASCII translation and return the
resulting string.
|
static PyString |
b2a_qp(PyObject[] arg,
String[] kws) |
static PyString |
b2a_uu(BufferProtocol bp)
Convert binary data to a line of ASCII characters, the return value
is the converted line, including a newline char.
|
static int |
crc_hqx(BufferProtocol bp,
int crc)
Compute the binhex4 crc value of data, starting with an initial
crc and returning the result.
|
static int |
crc32(BufferProtocol bp) |
static int |
crc32(BufferProtocol bp,
long crc) |
static PyObject |
exceptionNamespace() |
static boolean |
getIntFlagAsBool(ArgParser ap,
int index,
int dflt,
String errMsg) |
static PyString |
hexlify(BufferProtocol argbuf) |
static PyString |
rlecode_hqx(BufferProtocol bp)
Perform binhex4 style RLE-compression on data and return the
result.
|
static PyString |
rledecode_hqx(BufferProtocol bp)
Perform RLE-decompression on the data, as per the binhex4
standard.
|
static PyString |
unhexlify(BufferProtocol argbuf) |
public static String __doc__
public static final PyObject Error
public static final PyObject Incomplete
public static PyString __doc__a2b_uu
public static PyString __doc__b2a_uu
public static PyString __doc__a2b_base64
public static PyString __doc__b2a_base64
public static PyString __doc__a2b_hqx
public static PyString __doc__rlecode_hqx
public static PyString __doc__b2a_hqx
public static PyString __doc__rledecode_hqx
public static PyString __doc__crc_hqx
public static PyString __doc__b2a_hex
public static PyString a2b_hex$doc
public static final PyString __doc__a2b_qp
public static final PyString __doc__b2a_qp
public static PyObject exceptionNamespace()
public static PyString a2b_uu(BufferProtocol bp)
public static PyString b2a_uu(BufferProtocol bp)
public static PyString a2b_base64(BufferProtocol bp)
public static PyString b2a_base64(BufferProtocol bp)
public static PyTuple a2b_hqx(BufferProtocol bp)
public static PyString rlecode_hqx(BufferProtocol bp)
public static PyString b2a_hqx(BufferProtocol bp)
public static PyString rledecode_hqx(BufferProtocol bp)
public static int crc_hqx(BufferProtocol bp, int crc)
public static int crc32(BufferProtocol bp)
public static int crc32(BufferProtocol bp, long crc)
public static PyString b2a_hex(BufferProtocol bp)
public static PyString hexlify(BufferProtocol argbuf)
public static PyString a2b_hex(BufferProtocol bp)
public static PyString unhexlify(BufferProtocol argbuf)
public static boolean getIntFlagAsBool(ArgParser ap, int index, int dflt, String errMsg)