Mercurial > hg > octave-lyh > gnulib-hg
changeset 6736:9ad514083e7f
Doc fix.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Tue, 18 Apr 2006 22:25:51 +0000 |
parents | 1f6871379885 |
children | 9f5be00d8141 |
files | lib/base64.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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)