bin-encode-decode
A high-performance binary encode and decode library that supports customizable character sets beyond Base64.
Features
- Custom Character Sets: Define your own character set for encoding and decoding, allowing for flexible data representation.
- High Performance: Optimized for speed, making it suitable for applications requiring efficient cryptographic operations.
- Simple API: Intuitive and easy-to-use interface for both encode and decode processes.
- Robust Error Handling: Provides clear and descriptive error messages to facilitate debugging.
- Extensive Documentation: Comprehensive guides and examples to help you get started quickly.
Installation
To install bin-encode-decode run cmd:
Usage
encode
Use Struct
use *;
let mut en_decode: = new;
let test_str: &str = "test";
let mut charset: String = Stringfrom;
en_decode.charset;
let encode: = en_decode.encode;
Use Function
use *;
let test_str: &str = "test";
let mut charset: String = Stringfrom;
let encode: = execute;
decode
Use Struct
use *;
let mut en_decode: = new;
let test_str: &str = "aab0aabLaabZaab0";
let mut charset: String = Stringfrom;
en_decode.charset;
let decode: = en_decode.decode;
Use Function
use *;
let charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_=";
let encoded_str = "aab0aabLaabZaab0";
let decoded_str = execute;
let charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_=";
let original_str = "test";
let encoded_str = execute;
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Contact
For any inquiries, please reach out to the author at root@ltpp.vip.