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

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

This commit is contained in:
Jonas Jenwald 2021-04-27 13:04:07 +02:00
parent 1f0685cee6
commit 342b0c1bbc
3 changed files with 68 additions and 50 deletions

View file

@ -19,7 +19,6 @@ import {
FlateStream,
NullStream,
PredictorStream,
RunLengthStream,
} from "./stream.js";
import {
assert,
@ -47,6 +46,7 @@ import { Jbig2Stream } from "./jbig2_stream.js";
import { JpegStream } from "./jpeg_stream.js";
import { JpxStream } from "./jpx_stream.js";
import { LZWStream } from "./lzw_stream.js";
import { RunLengthStream } from "./run_length_stream.js";
const MAX_LENGTH_TO_CACHE = 1000;
const MAX_ADLER32_LENGTH = 5552;