#base64 #encode #decode

base64_t

A Base64 type based on the base64 crate that guarantees successful encoding and decoding

2 releases

Uses old Rust 2015

0.1.1 Apr 16, 2018
0.1.0 Oct 14, 2017

#123 in #base64

Apache-2.0

7KB
57 lines

base64_t

A Base64 type based on base64 that guarantees successful encoding and decoding.

Documentation

Licensed under the Apache License 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)


lib.rs:

A base64 type based on base64 that cannot error.

let encoded = base64_t::Base64::new("Test String");
assert_eq!(encoded.decode(), "Test String".to_string().into_bytes());

Dependencies

~380KB