mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
make codeLenCodeMap a typed array
This commit is contained in:
parent
fadbb1b5e7
commit
cd7c229ccc
1 changed files with 2 additions and 2 deletions
4
pdf.js
4
pdf.js
|
@ -112,9 +112,9 @@ var StringStream = (function() {
|
|||
})();
|
||||
|
||||
var FlateStream = (function() {
|
||||
const codeLenCodeMap = [
|
||||
const codeLenCodeMap = new Uint32Array([
|
||||
16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15
|
||||
];
|
||||
]);
|
||||
|
||||
const lengthDecode = [
|
||||
[0, 3],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue