API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeContainerCodec

@codexo/exojs / assets / stable

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.

0
props
0
methods
0
events
Import
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.

Definition1
"deflate-raw" | "none"
Source