node-ctypes - v2.10.0
    Preparing search index...

    Type Alias ArrayInstance<E>

    ArrayInstance: Omit<Buffer, ElementMethod | "length" | "toJSON" | number> & (
        IsAny<E> extends true
            ? ArrayProxy<any>
            : [E] extends [SimpleCDataConstructor<"char">]
                ? Omit<ArrayProxy<ArrayElement<E>>, "slice"> & CharBufferValue & CharSlice
                : [E] extends [SimpleCDataConstructor<"wchar">]
                    ? Omit<ArrayProxy<ArrayElement<E>>, "slice"> & WideBufferValue & CharSlice
                    : ArrayProxy<ArrayElement<E>>
    )

    Array instance: a Buffer with index access; the Array methods (slice, map, includes, ...) work on the elements, as Python's sequence operations. c_char arrays also expose .value/.raw and c_wchar arrays .value.

    Type Parameters

    • E = any