API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
namespaceCodec
@codexo/exojs / core / stable
Binary codec facade, grouped as a namespace so the public API carries no loose codec functions.
2
props
0
methods
0
events
Import
import { Codec } from '@codexo/exojs'Binary codec facade, grouped as a namespace so the public API carries no loose codec functions.
Properties2
decodeBase64: (input: string) => Uint8ArrayDecode a standard base64 string into raw bytes. Whitespace (newlines, spaces) is ignored, so multi-line base64 blocks decode correctly.
decompress: (bytes: Uint8Array, format: DecompressFormatCompression formats supported by the native `DecompressionStream`.) => Promise<Uint8Array<ArrayBufferLike>>Decompress a byte buffer using the native DecompressionStream. - 'gzip' - gzip container (RFC 1952). - 'deflate' - zlib container (RFC 1950), Tiled's zlib compression. - 'deflate-raw' - raw DEFLATE with no header (RFC 1951).
Source