readHexString method
Reads a HEX string from the stream of length bytes
and bits
Implementation
String readHexString({int bytes = 0, int bits = 0}) {
try {
return hex.encode(readBytes(bytes: bytes, bits: bits));
} on Exception {}
return "";
}