Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
fix decompressLZ4 types
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbandes committed Sep 23, 2021
1 parent 86feebd commit c1479c1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -309,9 +309,9 @@ export default class BagDataProvider implements RandomAccessDataProvider {
throw error;
}
},
lz4: (...args: unknown[]) => {
lz4: (buffer: Uint8Array, size: number) => {
try {
return decompressLZ4(...args);
return decompressLZ4(buffer, size);
} catch (error) {
reportMalformedError("lz4 decompression", error);
throw error;
Expand Down

0 comments on commit c1479c1

Please sign in to comment.