Skip to content

Version 2Β #1

@baileyherbert

Description

@baileyherbert

Core

  • Build on top of composer this time
  • Create composer package for bundle internals

Chunks

The new version uses a "chunk" system, where each class file, bundled asset, and environment entry are appended to the file directly without delimiters (but with optional compression and encoding). A header is then computed for the bundle. This header documents the types, names, checksums, offsets, and lengths of all chunks in the bundle. The header is encoded, and a 32-bit unsigned integer is prepended to the bundle signaling the length of the header, followed by the header itself.

  • Implement header encoding and decoding
  • Implement chunks
  • Implement chunk encoding and compression in chunks
  • Implement chunk reading at runtime with integrity enforcement

Features

  • Implement environment – simple key/value stores
  • Implement embedding files (file name, array of names, or glob) under keys
  • Implement iteration of file keys
  • Implement reading and streaming of bundled file entries
  • Implement error handling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions