Module

Node.StreamBuffer.Readable

Package
purescript-node-stream-buffers
Repository
cprussin/purescript-node-stream-buffers

#readable Source

readable :: forall eff. Eff (sb :: STREAM_BUFFER | eff) (Readable () (sb :: STREAM_BUFFER | eff))

Creates a readable stream buffer.

#put Source

put :: forall eff r. Readable r (sb :: STREAM_BUFFER | eff) -> Encoding -> String -> Eff (sb :: STREAM_BUFFER | eff) Unit

Given a readable stream buffer, an encoding, and a contents string, returns an effect containing a write of the contents to the given buffer.