Documentation
    Preparing search index...
    • Serialize the given object or array of objects into a DataView.

      Type Parameters

      • T extends object

      Parameters

      • objOrArray: T | T[]

        The object or array of objects to serialize.

      • Optionalopt: { byteOffset?: number; dataView?: DataView<ArrayBufferLike> }
        • OptionalbyteOffset?: number

          If provided, the byte offset to use for serialization.

        • OptionaldataView?: DataView<ArrayBufferLike>

          If provided, the data view to use for serialization.

      Returns [DataView<ArrayBufferLike>, number]

      A tuple with the DataView and the byte offset after serialization.