INNER CODE UNIT · TypeScript
unregisterCodec
gildas-lormeau/zip.js · index.d.ts:280
export function unregisterCodec(compressionMethod: number): void;
/**
* Returns the definitions of the codecs registered with {@link registerCodec}, in registration
* order. The returned objects are snapshots: modifying them does not alter the registered codecs.
*
* @remarks
* The `CompressionStream` and `DecompressionStream` classes of a codec registered with
* {@link CodecDefinition#codecURI} only appear once the module has been imported, i.e. after the
* first entry using the codec has been read or written.
*
* @returns The codec definitions.
*/
export function getRegisteredCodecs(): CodecDefinition[];
/**
* Returns the compression methods supported in the current environment and configuration: the
* built-in methods followed by the codecs registered with {@link registerCodec}, in registration