Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Restore backslashes in headers
  • Loading branch information
vsemozhetbyt authored Jun 19, 2016
commit 705c7520b5a64f4c2b432ae70e1796876a380116
10 changes: 5 additions & 5 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ const myWritable = new Writable({
});
```

#### writable._write(chunk, encoding, callback)
#### writable.\_write(chunk, encoding, callback)

* `chunk` {Buffer|String} The chunk to be written. Will **always**
be a buffer unless the `decodeStrings` option was set to `false`.
Expand Down Expand Up @@ -1191,7 +1191,7 @@ The `writable._write()` method is prefixed with an underscore because it is
internal to the class that defines it, and should never be called directly by
user programs.

#### writable._writev(chunks, callback)
#### writable.\_writev(chunks, callback)

* `chunks` {Array} The chunks to be written. Each chunk has following
format: `{ chunk: ..., encoding: ... }`.
Expand Down Expand Up @@ -1320,7 +1320,7 @@ const myReadable = new Readable({
});
```

#### readable._read(size)
#### readable.\_read(size)

* `size` {Number} Number of bytes to read asynchronously

Expand Down Expand Up @@ -1694,7 +1694,7 @@ by [`stream._transform()`][stream-_transform]. The `'end'` event is emitted
after all data has been output, which occurs after the callback in
[`transform._flush()`][stream-_flush] has been called.

#### transform._flush(callback)
#### transform.\_flush(callback)

* `callback` {Function} A callback function (optionally with an error
argument and data) to be called when remaining data has been flushed.
Expand Down Expand Up @@ -1722,7 +1722,7 @@ The `transform._flush()` method is prefixed with an underscore because it is
internal to the class that defines it, and should never be called directly by
user programs.

#### transform._transform(chunk, encoding, callback)
#### transform.\_transform(chunk, encoding, callback)

* `chunk` {Buffer|String} The chunk to be transformed. Will **always**
be a buffer unless the `decodeStrings` option was set to `false`.
Expand Down