Mercurial > hg > octave-nkf > gnulib-hg
diff lib/base64.c @ 6736:9ad514083e7f
Doc fix.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Tue, 18 Apr 2006 22:25:51 +0000 |
parents | 72afe7281123 |
children | 68c436fda425 |
line wrap: on
line diff
--- a/lib/base64.c +++ b/lib/base64.c @@ -305,7 +305,9 @@ otherwise. If *OUTLEN is too small, as many bytes as possible will be written to OUT. On return, *OUTLEN holds the length of decoded bytes in OUT. Note that as soon as any non-alphabet characters are - encountered, decoding is stopped and false is returned. */ + encountered, decoding is stopped and false is returned. This means + that, when applicable, you must de-fold any CRLF that is part of + the data stream before calling this function. */ bool base64_decode (const char *restrict in, size_t inlen, char *restrict out, size_t *outlen)