multibase

Last updated:

0 purchases

multibase Image
multibase Images
Add to Cart

Description:

multibase

dart-multibase #




multibase implementation in Dart.

Table of Contents #

Install
Usage

Install #
dart pub add multibase
copied to clipboard
Usage #
Codec<Uint8List, String> codec = MultibaseCodec(encodeBase: Multibase.base64);
Uint8List data = Uint8List.fromList("hello".codeUnits);
String base64 = codec.encode(data);
data = codec.decode(base64);
copied to clipboard
Or use the function API:
Uint8List data = Uint8List.fromList("hello".codeUnits);
String base64 = multibaseEncode(Multibase.base64, data);
data = multibaseDecode(base64);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.