Base64Decoder
type Base64Decoder = Base64Decoder
A Base64 decoder reader.
Example
nv
use std.io.{Read, Cursor};
use std.base64.Base64Decoder;
let reader: Read = Cursor.new("aGVsbG8=".bytes());
let decoder: Read = Base64Decoder.new(reader);
assert_eq try! decoder.read_to_string(), "hello";
Implementions
Methods
new
pub fn new(reader: Read, mode: Mode = Mode.Standard): Base64Decoder
[src]
pub fn new(reader: Read, mode: Mode = Mode.Standard): Base64Decoder {
return _base64.Base64Decoder.new(_create_native_read(reader), mode as int) as Base64Decoder;
}
Creates a new Base64Decoder
.
new
pub fn new(reader: Read, mode: Mode = Mode.Standard): Base64Decoder
[src]
pub fn new(reader: Read, mode: Mode = Mode.Standard): Base64Decoder {
return _base64.Base64Decoder.new(_create_native_read(reader), mode as int) as Base64Decoder;
}
Creates a new Base64Decoder
.
Creates a new Base64Decoder
.