BytesExtension extension

Provides extension methods for operating on lists of bytes.

on

Methods

asUint8List() Uint8List

Available on List<int>, provided by the BytesExtension extension

Converts a List<int> to a Uint8List.
toHex({String prefix = '0x'}) List<String>

Available on List<int>, provided by the BytesExtension extension

Returns a List of the hexadecimal strings of each element.