/usr/share/shedskin/lib/binascii.hpp is in shedskin 0.9.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /* Copyright 2005-2011 Mark Dufour and contributors; License Expat (See LICENSE) */
#ifndef __BINASCII_HPP
#define __BINASCII_HPP
#include "builtin.hpp"
#include "binascii.hpp"
#ifdef USE_ZLIB_CRC32
#include "zlib.h"
#endif
using namespace __shedskin__;
namespace __binascii__ {
class Error;
class Incomplete;
extern str *__name__;
extern class_ *cl_Error;
class Error : public Exception {
public:
Error() {}
Error(str *msg) {
this->__class__ = cl_Error;
__init__(msg);
}
};
extern class_ *cl_Incomplete;
class Incomplete : public Exception {
public:
Incomplete() {}
Incomplete(str *msg) {
this->__class__ = cl_Incomplete;
__init__(msg);
}
};
extern void * default_4;
extern __ss_bool default_1;
extern __ss_bool default_0;
extern __ss_bool default_3;
extern __ss_bool default_2;
extern void * default_5;
str *a2b_uu(str *string);
str *b2a_uu(str *data);
str *a2b_base64(str *string);
str *b2a_base64(str *data);
str *a2b_qp(str *string, __ss_bool header);
str *b2a_qp(str *data, __ss_bool quotetabs, __ss_bool istext, __ss_bool header);
tuple2<str*, __ss_int> *a2b_hqx(str *string);
str *b2a_hqx(str *data);
str *rledecode_hqx(str *data);
str *rlecode_hqx(str *data);
__ss_int crc_hqx(str *data, __ss_int crc);
__ss_int crc32(str *data, __ss_int crc=0);
str *b2a_hex(str *data);
str *a2b_hex(str *data);
str *hexlify(str *data);
str *unhexlify(str *data);
void __init();
} // module namespace
#endif
|