Annotation of libwww/Library/src/HTUU.html, revision 2.7

2.3       frystyk     1: <HTML>
2.1       luotonen    2: <HEAD>
2.3       frystyk     3: <TITLE>UU Encoding and Decoding</TITLE>
2.1       luotonen    4: </HEAD>
                      5: <BODY>
                      6: 
                      7: <H1>Encoding to Printable Characters</H1>
                      8: 
2.3       frystyk     9: <PRE>
                     10: /*
2.7     ! frystyk    11: **     (c) COPYRIGHT MIT 1995.
2.3       frystyk    12: **     Please first read the full copyright statement in the file COPYRIGH.
                     13: */
                     14: </PRE>
                     15: 
2.1       luotonen   16: File module provides functions <CODE>HTUU_encode()</CODE> and
                     17: <CODE>HTUU_decode()</CODE> which convert a buffer of bytes to/from RFC
                     18: 1113 printable encoding format.
                     19: 
                     20: This technique is similar to the familiar Unix uuencode format in that
                     21: it maps 6 binary bits to one ASCII character (or more aptly, 3 binary
                     22: bytes to 4 ASCII characters).  However, RFC 1113 does not use the same
2.3       frystyk    23: mapping to printable characters as uuencode. <P>
                     24: 
                     25: This module is implemented by <A HREF="HTUU.c">HTUU.c</A>, and it is a
                     26: part of the <A
2.6       frystyk    27: HREF="http://www.w3.org/hypertext/WWW/Library/User/Guide/Guide.html">
2.3       frystyk    28: Library of Common Code</A>.
2.1       luotonen   29: 
                     30: <PRE>
                     31: #ifndef HTUU_H
                     32: #define HTUU_H
                     33: 
                     34: 
2.2       frystyk    35: extern int HTUU_encode PARAMS((unsigned char *bufin,
2.1       luotonen   36:                               unsigned int nbytes,
                     37:                               char *bufcoded));
                     38: 
2.2       frystyk    39: extern int HTUU_decode PARAMS((char *bufcoded,
2.1       luotonen   40:                               unsigned char *bufplain,
                     41:                               int outbufsize));
                     42: 
                     43: #endif
                     44: </PRE>
                     45: End of file.
                     46: </BODY>

Webmaster