Skip to content

@graphty/graphty-element / format / U32

Type Alias: U32 ​

U32 = Uint32Array<ArrayBuffer>

Defined in: graph-format/dist/src/types/columns.d.ts:49

Uint32Array over a plain ArrayBuffer (design section 12.1). The buffer type parameter is what makes the array a BufferSource for GPUQueue.writeBuffer without a cast; a bare Uint32Array (whose default parameter is ArrayBufferLike) is rejected there. subarray(), slice(), fill() and new Uint32Array(n) all preserve or produce this type.