diff --git a/src/ssn/extractFileStream.ts b/src/ssn/extractFileStream.ts index 59b5e79..085541b 100644 --- a/src/ssn/extractFileStream.ts +++ b/src/ssn/extractFileStream.ts @@ -48,9 +48,5 @@ export default function extractFileStream(file: ISsnFileEntry, inputStream: stre }); curStream = curStream.pipe(decompressTransform); - //set max length - const maxLength2 = streamSetMaxLength(curStream, file.size); - curStream = maxLength2; - return curStream; }