- Implement using $stream->write()