The object or array of objects to serialize.
Optionalopt: { byteOffset?: number; dataView?: DataView<ArrayBufferLike> }OptionalbyteOffset?: numberIf provided, the byte offset to use for serialization.
OptionaldataView?: DataView<ArrayBufferLike>If provided, the data view to use for serialization.
A tuple with the DataView and the byte offset after serialization.
Serialize the given object or array of objects into a DataView.