vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function createBase64URLOutputStream

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

Base64OutputStreamImpl!('-','_','=',OutputStream) createBase64URLOutputStream(OutputStream) (
  OutputStream output,
  ulong max_bytes_per_line = 57
)
if (isOutputStream!OutputStream);

Parameters

NameDescription
output The output sink to which the encoded result is written.
max_bytes_per_line The maximum number of input bytes after which a line break is inserted into the output. Defaults to 57, according to the MIME standard.
Authors

Jan Krüger, Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

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