Function enhancePack

  • Type Parameters

    • C extends Codec<any, any, any, any, C>

    • Packed

    Parameters

    • codec: C
    • afterCodecPack: ((arg) => Packed)
        • (arg): Packed
        • Parameters

          Returns Packed

    • beforeCodecUnpack: ((arg) => UnpackParam<C>)

    Returns Codec<Packed, UnpackResult<C>, PackParam<C>>

Generated using TypeDoc