toHex method
Convert to Hex String with prefix.
Example:
ByteArray([255,2,3,10]).toHex(); // 0xff02030a
Implementation
String toHex() => _data.toHex();
Convert to Hex String with prefix.
Example:
ByteArray([255,2,3,10]).toHex(); // 0xff02030a
String toHex() => _data.toHex();