Annotation of libwww/Library/src/HTUU.html, revision 2.2
2.1 luotonen 1: <HEAD>
2: </HEAD>
3: <BODY>
4:
5: <H1>Encoding to Printable Characters</H1>
6:
7: File module provides functions <CODE>HTUU_encode()</CODE> and
8: <CODE>HTUU_decode()</CODE> which convert a buffer of bytes to/from RFC
9: 1113 printable encoding format.
10:
11: This technique is similar to the familiar Unix uuencode format in that
12: it maps 6 binary bits to one ASCII character (or more aptly, 3 binary
13: bytes to 4 ASCII characters). However, RFC 1113 does not use the same
14: mapping to printable characters as uuencode.
15:
16: <PRE>
17: #ifndef HTUU_H
18: #define HTUU_H
19:
20: #include "HTUtils.h"
21:
2.2 ! frystyk 22: extern int HTUU_encode PARAMS((unsigned char *bufin,
2.1 luotonen 23: unsigned int nbytes,
24: char *bufcoded));
25:
2.2 ! frystyk 26: extern int HTUU_decode PARAMS((char *bufcoded,
2.1 luotonen 27: unsigned char *bufplain,
28: int outbufsize));
29:
30: #endif
31: </PRE>
32: End of file.
33: </BODY>
Webmaster