multibase 1.0.0 copy "multibase: ^1.0.0" to clipboard
multibase: ^1.0.0 copied to clipboard

An implementation of multibase in Dart

dart-multibase #

Bulid Status License Pub

multibase implementation in Dart.

Table of Contents #

Install #

dart pub add multibase

Usage #

Codec<Uint8List, String> codec = MultibaseCodec(encodeBase: Multibase.base64);
Uint8List data = Uint8List.fromList("hello".codeUnits);
String base64 = codec.encode(data);
data = codec.decode(base64);

Or use the function API:

Uint8List data = Uint8List.fromList("hello".codeUnits);
String base64 = multibaseEncode(Multibase.base64, data);
data = multibaseDecode(base64);
1
likes
140
pub points
51%
popularity

Publisher

verified publisherhea.care

An implementation of multibase in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

base_x, characters

More

Packages that depend on multibase