stcarrez / ada-util

Ada Utility Library - Composing streams, processes, logs, serialization, encoders and more
Apache License 2.0
69 stars 14 forks source link

Support to ignore line breaks when decoding Base64 streams #41

Closed stcarrez closed 1 year ago

stcarrez commented 1 year ago

The Base64 decoder reports an error if the stream contains a \n.

This is conform to the RFC 4648 but it is also common to ignore line breaks when the Base64 stream was split on 76 character lines.