• A string serializer that requires a custom alphabet and uses the length of that alphabet as the base. It then divides the input by the base as many times as necessary to get the output. It also supports leading zeroes by using the first character of the alphabet as the zero character.

    This can be used to create serializers such as base10 or base58.

    Parameters

    • alphabet: string

    Returns Serializer<string, string>

Generated using TypeDoc