X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/236f657b6dab66f31f4902cecfc03b4673f5bb98..804935b97e0b73f4456e2c0661c7ca1c7ef7ad34:/codec/codec.3 diff --git a/codec/codec.3 b/codec/codec.3 index 96174f3..fd797c5 100644 --- a/codec/codec.3 +++ b/codec/codec.3 @@ -122,6 +122,11 @@ Ignore newline (and carriage-return) characters when decoding: the default for RFC4648 codecs is to reject newline characters. If these characters are significant in the encoding, then this flag is ignored. .TP +.B CDCF_IGNSPC +Ignore whitespace characters (other than newlines) when decoding: the +default for RFC4648 codecs is to reject whitespace characters. If these +characters are significant in the encoding, then this flag is ignored. +.TP .B CDCF_IGNINVCH Ignore any other invalid characters appearing in the input when decoding. @@ -131,7 +136,7 @@ Ignore all `junk' in the input. This should suppress almost all decoding errors. .PP If you do not set any of the -.BR CDCF_IGN ... +.BR CDCF_IGN ...\& flags, a decoder should only accept the exact encoding that the corresponding encoder would produce (with .I maxline @@ -165,7 +170,7 @@ object. .TP .BI "int (*code)(codec *" c ", const void *" p ", size_t " sz ", dstr *" d ")" Encode or decode, using the codec -.I c , +.IR c , the data in the buffer at address .I p and continuing for