G-code Preview — API Reference
    Preparing search index...
    • Decode a MeatPack byte stream to plain G-code, bounded to limit output bytes (decompression-bomb defense). Both bgcode GCode encodings (MeatPack, MeatPack-comments) decode through this identically — comment preservation is an encoder choice; the decoder simply reproduces the packed bytes.

      Parameters

      • data: Uint8Array
      • limit: number

      Returns Uint8Array