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

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

Webmaster