Genotype API Documentation - v0.1.0
    Preparing search index...

    Interface StreamChunk

    Stream chunk data with metadata for processing Provides context about the chunk's position in the stream

    interface StreamChunk {
        data: Uint8Array;
        isLast: boolean;
        bytesRead: number;
        totalBytes?: number;
        chunkNumber: number;
    }
    Index

    Properties

    data: Uint8Array

    Raw binary data for this chunk

    isLast: boolean

    Whether this is the final chunk in the stream

    bytesRead: number

    Number of bytes in this chunk

    totalBytes?: number

    Total file size if known

    chunkNumber: number

    Chunk sequence number for debugging