1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

Move the LZWStream from src/core/stream.js and into its own file

This commit is contained in:
Jonas Jenwald 2021-04-27 12:55:23 +02:00
parent d10da907da
commit 6c1a321500
3 changed files with 157 additions and 139 deletions

View file

@ -17,7 +17,6 @@ import {
Ascii85Stream,
AsciiHexStream,
FlateStream,
LZWStream,
NullStream,
PredictorStream,
RunLengthStream,
@ -47,6 +46,7 @@ import { CCITTFaxStream } from "./ccitt_stream.js";
import { Jbig2Stream } from "./jbig2_stream.js";
import { JpegStream } from "./jpeg_stream.js";
import { JpxStream } from "./jpx_stream.js";
import { LZWStream } from "./lzw_stream.js";
const MAX_LENGTH_TO_CACHE = 1000;
const MAX_ADLER32_LENGTH = 5552;