Skip to content

Implementation of multibase parser in Dart

License

Notifications You must be signed in to change notification settings

heacare/dart-multibase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Implementation of multibase parser in Dart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages