Function createAssertEncode

  • Creates a reusable assertEncode function.

    Parameters

    Returns never

    Nothing until you configure the generic argument T

    You must configure the generic argument T

    compile error

    Jeongho Nam - https://github.com/samchon

  • Creates a reusable assertEncode function.

    Type Parameters

    • T

      Target type

    Parameters

    Returns ((input: T) => Uint8Array)

    A reusable assertEncode function

      • (input): Uint8Array
      • Parameters

        • input: T

        Returns Uint8Array

    Jeongho Nam - https://github.com/samchon