Function parseAsciiParams

Parses an array of ASCII codes representing key-value pairs and converts them into an object.

  • Type Parameters

    • T extends {} = Record<string, any>

      The object type of the parsed result. Defaults to Record<string, any>.

    Parameters

    • state: number[]

      An array of ASCII codes representing key-value pairs.

    Returns null | T

    • The parsed object if successful, or null if an error occurred.