UNPKG

node-pkware

Version:

nodejs implementation of StormLib's pkware compressor/de-compressor

41 lines (40 loc) 1.07 kB
export declare class Explode { private needMoreInput; private extraBits; private bitBuffer; private readonly lengthCodes; private readonly distPosCodes; private inputBuffer; private inputBufferStartIndex; private outputBuffer; private compressionType; private dictionarySize; private dictionarySizeMask; private chBitsAsc; private asciiTable2C34; private asciiTable2D34; private asciiTable2E34; private asciiTable2EB4; constructor(); /** * @throws {InvalidCompressionTypeError} * @throws {InvalidDictionarySizeError} * @throws {AbortedError} */ handleData(input: ArrayBufferLike): ArrayBufferLike; private generateAsciiTables; /** * @throws {@link AbortedError} when there isn't enough data to be wasted */ private wasteBits; /** * @throws {@link AbortedError} */ private decodeNextLiteral; /** * @throws {@link AbortedError} */ private decodeDistance; private processChunkData; private parseInitialData; }