encodeHexString static method

String encodeHexString(
  1. String hex
)

Takes in a hex string, converts the string to a byte list and runs a normal encode() on it. Returns a String representation of the base32.

Implementation

static String encodeHexString(String hex) {
  var bytes = _hexStringToBytes(hex);
  return encode(bytes);
}