Base32Encoder constructor

const Base32Encoder({
  1. required List<int> alphabet,
  2. int? padding,
})

Creates a new Base32Encoder instance.

Parameters:

  • The alphabet maps each 5-bit word to its output character.
  • If padding is not null, the output is padded with it to a multiple of 8 characters.

Implementation

const Base32Encoder({
  required super.alphabet,
  super.padding,
}) : super(bits: 5);