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

    Interface CompressionDetection

    Compression detection result with confidence scoring

    interface CompressionDetection {
        format: CompressionFormat;
        confidence: number;
        magicBytes?: Uint8Array<ArrayBufferLike>;
        extension?: string;
        detectionMethod: "magic-bytes" | "extension" | "hybrid";
    }
    Index

    Properties

    Detected compression format

    confidence: number

    Detection confidence level (0-1)

    magicBytes?: Uint8Array<ArrayBufferLike>

    Magic bytes that led to detection

    extension?: string

    File extension used in detection

    detectionMethod: "magic-bytes" | "extension" | "hybrid"

    Whether detection used magic bytes vs extension