🎨 Minor function signature change
This commit is contained in:
parent
09de4b663b
commit
9688c12797
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
import * as stream from 'stream';
|
import * as stream from 'stream';
|
||||||
import getDecryptor from '../decryption/decryptChunk';
|
import getDecryptor from '../decryption/decryptChunk';
|
||||||
|
|
||||||
export default function decryptStream(inputStream: stream.Readable, [key0, key1, key2]: [number, number, number]): stream.Readable {
|
export default function decryptStream(inputStream: stream.Readable, decryptionKeys: [number, number, number]): stream.Readable {
|
||||||
const decryptor = getDecryptor([key0, key1, key2]);
|
const decryptor = getDecryptor(decryptionKeys);
|
||||||
|
|
||||||
const outStream = new stream.Readable({
|
const outStream = new stream.Readable({
|
||||||
read(size) {
|
read(size) {
|
||||||
|
|
Loading…
Reference in a new issue