mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 00:54:14 +02:00
type
This commit is contained in:
parent
cfd008eb2a
commit
52333f01e3
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ export class StreamParser extends Parser {
|
||||||
header: any;
|
header: any;
|
||||||
sourceStream: Stream;
|
sourceStream: Stream;
|
||||||
|
|
||||||
constructor(stream) {
|
constructor(stream: Stream) {
|
||||||
super(new BitStream(new ArrayBuffer(0)));
|
super(new BitStream(new ArrayBuffer(0)));
|
||||||
this.sourceStream = stream;
|
this.sourceStream = stream;
|
||||||
this.on('packet', this.match.handlePacket.bind(this.match));
|
this.on('packet', this.match.handlePacket.bind(this.match));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue