base45 0.0.3 copy "base45: ^0.0.3" to clipboard
base45: ^0.0.3 copied to clipboard

A simple base45 library to perform utf8 string encoding and decoding. base45 is an internet draft and designed for efficient, compact encoding for QR code.

example/main.dart

import 'dart:convert';
import 'dart:typed_data';

import 'package:base45/base45.dart';

void main() {
  var str = 'Hello!!';
  var encoded = utf8.encode(str);
  var base45EncodedString = Base45.encode(Uint8List.fromList(encoded));
  print(base45EncodedString);
}
4
likes
150
points
57
downloads

Publisher

unverified uploader

Weekly Downloads

A simple base45 library to perform utf8 string encoding and decoding. base45 is an internet draft and designed for efficient, compact encoding for QR code.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on base45