1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
static ALPHABET32:&'static[u8;32]=&[ 065,066,067,068,069,070,071,072, 073,074,075,076,077,078,079,080, 081,082,083,084,085,086,087,088, 089,090,050,051,052,053,054,055 ]; pub struct B32<T>(T); pub trait B32Encode<I,O>{fn encode(data:I)->O;} pub trait B32Decode<I,O>{fn decode(data:I)->O;} include!("./include/u8.rs"); include!("./include/u16.rs"); include!("./include/u32.rs"); include!("./include/u64.rs"); include!("./include/string.rs");