base16 2.0.2 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.
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));