-
Notifications
You must be signed in to change notification settings - Fork 10
cork/uncork in the encoder #2
Copy link
Copy link
Open
Description
in my code I have something like this:
something.pipe(lps.encode()).pipe(socket);
I think it will make sense to cork/uncork the target stream for the two pushes or push a concat'ed buffer:
this.push(pool.slice(used - varint.encode.bytes, used))
this.push(data)
Similar issue in another similar library:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels