API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeContainerCodec
How a block's stored bytes are encoded. `deflate-raw` decodes through the browser's `DecompressionStream` with no dependency and no WebAssembly; `none` is what a block of already-compressed payload (PNG, KTX2, H.264, AAC, Opus) stores, where deflating a second time costs decode time and wins nothing. The field exists so a decoder that arrives for another reason can be added without a format break.
import { ContainerCodec } from '@codexo/exojs'How a block's stored bytes are encoded.
`deflate-raw` decodes through the browser's `DecompressionStream` with no dependency and no WebAssembly; `none` is what a block of already-compressed payload (PNG, KTX2, H.264, AAC, Opus) stores, where deflating a second time costs decode time and wins nothing. The field exists so a decoder that arrives for another reason can be added without a format break.
"deflate-raw" | "none"