Skip to content

Add writeBuf mechanism for output

Compare
Choose a tag to compare
@schveiguy schveiguy released this 30 Nov 04:31
· 34 commits to master since this release

Over and over and over, I was writing local functions that do what this thing does -- write data to the front of the window, and release it, extending when necessary.

This facilitates greatly the concept of writing data to an iopipe. Should only be used on iopipes that have a buffer that is processed after release, or where you are writing to a piece of memory (i.e. an array).