taglib-ts
    Preparing search index...

    Function renderString

    • Encode str as a null-terminated UTF-16LE byte sequence, optionally prefixed with a 16-bit length field.

      Parameters

      • str: string

        The string to encode.

      • includeLength: boolean = false

        When true, a WORD containing the byte length of the encoded string (including null terminator) is prepended.

      Returns ByteVector

      The encoded bytes.