taglib-ts
    Preparing search index...

    Function updateParentSizes

    • Updates the on-disk sizes of all atoms in path (excluding the last ignore atoms) by delta bytes.

      Mirrors C++ updateParentSizes() in mp4nerochapterlist.cpp and mp4qtchapterlist.cpp.

      Parameters

      • stream: IOStream

        The file stream.

      • path: Mp4Atom[]

        Atom path from root to the modified child, as returned by Mp4Atoms.path or Mp4Atom.path.

      • delta: number

        Number of bytes added (positive) or removed (negative).

      • ignore: number = 0

        Number of trailing path atoms to skip (default 0).

      Returns Promise<void>