BinaryParseStream
BinaryParseStream is a TransformStream that consumes buffers and outputs
objects on the other end. It expects your subclass to implement a `_parse`
method that is a generator. When your generator yields a number, it'll be
fed a buffer of that length from the input. When your generator returns,
the return value will be pushed to the output side.
Constructor
new BinaryParseStream(options)
- Description:
- Creates an instance of BinaryParseStream.
- Source:
Parameters:
Name |
Type |
Description |
options |
stream.TransformOptions
|
Stream options. |
Extends
Classes
- BinaryParseStream