13 lines
232 B
JavaScript
13 lines
232 B
JavaScript
'use strict';
|
|
|
|
const { PassThrough } = require('stream');
|
|
|
|
class OctetStreamParser extends PassThrough {
|
|
constructor(options = {}) {
|
|
super();
|
|
this.globalOptions = { ...options };
|
|
}
|
|
}
|
|
|
|
module.exports = OctetStreamParser;
|