taglib-ts
    Preparing search index...

    Function readString

    • Read length bytes from file and decode them as a UTF-16LE string, stripping any trailing null terminators.

      Parameters

      • file: File

        Open file handle positioned at the string data.

      • length: number

        Number of bytes to read.

      Returns Promise<string>

      The decoded string.