make codeLenCodeMap a typed array
This commit is contained in:
parent
fadbb1b5e7
commit
cd7c229ccc
4
pdf.js
4
pdf.js
@ -112,9 +112,9 @@ var StringStream = (function() {
|
|||||||
})();
|
})();
|
||||||
|
|
||||||
var FlateStream = (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
|
16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15
|
||||||
];
|
]);
|
||||||
|
|
||||||
const lengthDecode = [
|
const lengthDecode = [
|
||||||
[0, 3],
|
[0, 3],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user