OptionalextensionsFile name endings, such as .tar.br, for a format that detect
cannot identify.
The number of bytes that detect needs.
OptionalcompressMake a stream that compresses.
Optionaloptions: Record<string, unknown>OptionalcompressCompress all of data.
Optionaloptions: Record<string, unknown>Make a stream that decompresses.
OptionaldecompressDecompress all of data. The sync readers need it. It must throw
before it makes more than limit.maxOutputLength bytes. That
number is Infinity when the caller sets no ratio limit.
True if the input is in this format. head is the start of the
input: headLength bytes or more, or all of a shorter input.
One compression format. Pass codecs in the
codecsoption to add a format, or to replace the gzip support of the runtime.The readers use the first codec for which
detectreturns true. If there is none, and the archive has a file name, and the input does not start with a tar header, they use the first codec that has an ending of the file name inextensions.The readers enforce
maxDecompressionRatiofor each codec.