kaven-basic - v6.0.0
    Preparing search index...

    Function ArrayBuffer2String

    • Converts an ArrayBuffer or ArrayBuffer-like object to a string using UTF-16 code units.

      Parameters

      • buf: ArrayBufferLike

        The ArrayBuffer or ArrayBuffer-like object to convert.

      Returns string

      The resulting string representation of the buffer.

      This function interprets each byte in the buffer as a single UTF-16 code unit. For multi-byte encoded strings (e.g., UTF-8), consider using a TextDecoder instead.

      4.0.0

      2021-12-11