Browse Source

s/buffers/buffer/

v0.9.1-release
isaacs 13 years ago
parent
commit
f9e464f95a
  1. 2
      doc/api/_toc.markdown
  2. 2
      doc/api/all.markdown
  3. 0
      doc/api/buffer.markdown
  4. 4
      doc/api/crypto.markdown
  5. 2
      doc/api/globals.markdown
  6. 4
      doc/api/http.markdown

2
doc/api/_toc.markdown

@ -8,7 +8,7 @@
* [Process](process.html) * [Process](process.html)
* [Utilities](util.html) * [Utilities](util.html)
* [Events](events.html) * [Events](events.html)
* [Buffers](buffers.html) * [Buffer](buffer.html)
* [Streams](streams.html) * [Streams](streams.html)
* [Crypto](crypto.html) * [Crypto](crypto.html)
* [TLS/SSL](tls.html) * [TLS/SSL](tls.html)

2
doc/api/all.markdown

@ -8,7 +8,7 @@
@include process @include process
@include util @include util
@include events @include events
@include buffers @include buffer
@include streams @include streams
@include crypto @include crypto
@include tls @include tls

0
doc/api/buffers.markdown → doc/api/buffer.markdown

4
doc/api/crypto.markdown

@ -107,7 +107,7 @@ Creates and returns a cipher object, with the given algorithm and password.
On recent releases, `openssl list-cipher-algorithms` will display the On recent releases, `openssl list-cipher-algorithms` will display the
available cipher algorithms. available cipher algorithms.
`password` is used to derive key and IV, which must be `'binary'` encoded `password` is used to derive key and IV, which must be `'binary'` encoded
string (See the [Buffers](buffers.html) for more information). string (See the [Buffer section](buffer.html) for more information).
## crypto.createCipheriv(algorithm, key, iv) ## crypto.createCipheriv(algorithm, key, iv)
@ -115,7 +115,7 @@ Creates and returns a cipher object, with the given algorithm, key and iv.
`algorithm` is the same as the `createCipher()`. `key` is a raw key used in `algorithm` is the same as the `createCipher()`. `key` is a raw key used in
algorithm. `iv` is an Initialization vector. `key` and `iv` must be `'binary'` algorithm. `iv` is an Initialization vector. `key` and `iv` must be `'binary'`
encoded string (See the [Buffers](buffers.html) for more information). encoded string (See the [Buffer section](buffer.html) for more information).
## Class: Cipher ## Class: Cipher

2
doc/api/globals.markdown

@ -38,7 +38,7 @@ Used to print to stdout and stderr. See the [stdio](stdio.html) section.
* {Object} * {Object}
Used to handle binary data. See the [buffers](buffers.html) section. Used to handle binary data. See the [buffer section](buffer.html).
## require() ## require()

4
doc/api/http.markdown

@ -163,7 +163,7 @@ interface. This is an `EventEmitter` with the following events:
Emitted when a piece of the message body is received. The chunk is a string if Emitted when a piece of the message body is received. The chunk is a string if
an encoding has been set with `request.setEncoding()`, otherwise it's a an encoding has been set with `request.setEncoding()`, otherwise it's a
[Buffer](buffers.html). [Buffer](buffer.html).
Note that the __data will be lost__ if there is no listener when a Note that the __data will be lost__ if there is no listener when a
`ServerRequest` emits a `'data'` event. `ServerRequest` emits a `'data'` event.
@ -766,7 +766,7 @@ server--in that case it is suggested to use the
`['Transfer-Encoding', 'chunked']` header line when `['Transfer-Encoding', 'chunked']` header line when
creating the request. creating the request.
The `chunk` argument should be a [buffer](buffers.html) or a string. The `chunk` argument should be a [buffer](buffer.html) or a string.
The `encoding` argument is optional and only applies when `chunk` is a string. The `encoding` argument is optional and only applies when `chunk` is a string.
Defaults to `'utf8'`. Defaults to `'utf8'`.

Loading…
Cancel
Save