G-code Preview — API Reference
    Preparing search index...
    interface BgcodeDecodeOptions {
        maxOutputBytes?: number;
        metadata?: boolean;
    }
    Index

    Properties

    maxOutputBytes?: number

    Hard cap on total decoded G-code bytes — decompression-bomb defense (default 512 MiB).

    metadata?: boolean

    Also decode the metadata (INI) + thumbnail blocks into settings/thumbnails (default false).