encodeNoPaddingBytes static method

String encodeNoPaddingBytes(
  1. List<int> data, [
  2. String? customAlphabet
])

Encode the provided List of bytes into a Base32 encoded string without padding characters. Optionally, you can specify a custom alphabet for encoding.

Implementation

static String encodeNoPaddingBytes(List<int> data, [String? customAlphabet]) {
  /// Encode the input bytes and then remove any padding characters.
  return encodeBytes(data, customAlphabet)
      .replaceAll(_Base32Const.paddingChar, '');
}