base16 2.0.1 copy "base16: ^2.0.1" to clipboard
base16: ^2.0.1 copied to clipboard

outdated

Simple base16 (hex) encoder. Used to encode bytes to semi-readable String format, e.g. to encode bytes of UUID, ObjectID, etc.

example/example.dart

import 'dart:typed_data';
import 'package:base16/base16.dart';

final Uint8List _objectIDBytes = Uint8List.fromList(const [142, 71, 191, 93, 246, 100, 21, 15, 0, 205, 16, 37]);

void main() => print(base16encode(_objectIDBytes));
1
likes
40
points
23
downloads

Publisher

verified publisherdarkandjeweled.com

Weekly Downloads

Simple base16 (hex) encoder. Used to encode bytes to semi-readable String format, e.g. to encode bytes of UUID, ObjectID, etc.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on base16