Skip to content

getLongestContiguousPrefix

getLongestContiguousPrefix(schema): number

Returns the size (in bytes) of the longest contiguous memory prefix of data represented by the schema.

AnyData

number

packages/typegpu/src/data/getLongestContiguousPrefix.ts:12