Destroys the PtrArray.
A promise that resolves when the PtrArray is destroyed.
Retrieves an element at a specific index in the PtrArray.
The index of the element to retrieve.
A promise that resolves to an LPVOID or null if not found. The actual type of the element may vary and should be constructed accordingly, e.g., Bookmark.
Retrieves the PtrArray's length.
A promise that resolves to the number of elements in the array.
StaticcreateCreates a PtrArray instance.
Optionaloptions: OptionsThe configuration options required for creation, containing necessary initialization information.
A promise that resolves to a PtrArray instance.
Create a PtrArray instance. Instead of creating an instance in new mode, use create to create an instance.