• A string serializer that reslices bytes into custom chunks of bits that are then mapped to a custom alphabet.

    This can be used to create serializers whose alphabet is a power of 2 such as base16 or base64.

    Parameters

    • alphabet: string
    • bits: number

    Returns Serializer<string, string>

Generated using TypeDoc