• Encode the array into a binary string

    Parameters

    • array: string[]

      The array

    Returns string

    A binary string. Each string is encoded with a preceding "length" byte.

    Remarks

    If the length of a string element exceeds 255, an error will be raised.

Generated using TypeDoc