vibe.stream.base64

Base64 encoding routines

Members

Aliases

Base64OutputStream
alias Base64OutputStream = Base64OutputStreamImpl!('+', '/')

MIME compatible Base64 encoding stream.

Base64URLOutputStream
alias Base64URLOutputStream = Base64OutputStreamImpl!('-', '_')

URL safe Base64 encoding stream (using '-' and '_' for non-alphabetic values).

Classes

Base64OutputStreamImpl
class Base64OutputStreamImpl(char C62, char C63, char CPAD = '=', OutputStream = .OutputStream)

Generic Base64 encoding output stream.

Functions

createBase64OutputStream
Base64OutputStreamImpl!(C62, C63, CPAD, OutputStream) createBase64OutputStream(OutputStream output, ulong max_bytes_per_line)

Creates a Base64 encoding stream.max_bytes_per_line

createBase64URLOutputStream
Base64OutputStreamImpl!('-', '_', '=', OutputStream) createBase64URLOutputStream(OutputStream output, ulong max_bytes_per_line)

Creates a URL safe Base64 encoding stream (using '-' and '_' for non-alphabetic values).

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Jan Krüger, Sönke Ludwig