Type
StreamTargetChunk
A data chunk for StreamTarget.
ts
type StreamTargetChunk = {
type: 'write'; // This ensures automatic compatibility with FileSystemWritableFileStream
data: Uint8Array;
position: number;
};Used by
Properties
type
ts
type: 'write';The operation type.
data
ts
data: Uint8Array<ArrayBufferLike>;The data to write.
position
ts
position: number;The byte offset in the output file at which to write the data.