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

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 'package:base16/base16.dart';

const List<int> _objectIDBytes = [142, 71, 191, 93, 246, 100, 21, 15, 0, 205, 16, 37];

void main() => print(base16encode(_objectIDBytes));
1
likes
40
pub points
28%
popularity

Publisher

verified publisherdarkandjeweled.com

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