0 purchases
z85
z85 #
A z85 encoder and decoder. Implements the full
dart:convert Codec API.
Usage #
z85 can be used just like all the dart:convert codecs (e.g. base64):
import 'package:z85/z85.dart';
void main() {
final testBytes = [0x86, 0x4F, 0xD2, 0x6F, 0xB5, 0x59, 0xF7, 0x5B];
final testString = 'HelloWorld';
assert(z85.encode(testBytes) == testString);
assert(z85.decode(testString) == testBytes);
}
copied to clipboard
Chunked conversions are also supported, again by following the same API. See the API docs
for more information.
Links #
GitHub.
Pub.
API docs.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.