encodeHexString static method

String encodeHexString(
  1. String b32hex, {
  2. Encoding encoding = Encoding.standardRFC4648,
})

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

Implementation

static String encodeHexString(String b32hex,
    {Encoding encoding = Encoding.standardRFC4648}) {
  return encode(_hexDecode(b32hex), encoding: encoding);
}