encodeBytes static method
Encode the provided List of bytes into a Base32 encoded string. Optionally, you can specify a custom alphabet for encoding.
Implementation
static String encodeBytes(List<int> data, [String? customAlphabet]) {
final alphabet = customAlphabet ?? Base32Alphabet.standardAlphabet;
_checkAlphabet(alphabet);
return _addPadding(_encodeRaw(data, alphabet));
}