Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Curry <liam@curry.name>2015-03-18 23:40:51 +0300
committerLiam Curry <liam@curry.name>2015-03-18 23:40:51 +0300
commit0efed15d769266e3f83d832e54c9e55bd7c2a7f8 (patch)
tree8dfe8a7071f354752a559501cbb67cf4b16bbb28 /README.md
parent5fe4320b083351d78cbb69f8b921faacc997b288 (diff)
Changed "url" to "buffer" in `file.getBuffer` callback
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3fc7453..f3cf0aa 100644
--- a/README.md
+++ b/README.md
@@ -456,7 +456,7 @@ You can pass `opts` to stream only a slice of a file.
Both `start` and `end` are inclusive.
-#### `file.getBuffer(function callback (err, url) {})`
+#### `file.getBuffer(function callback (err, buffer) {})`
Get the file contents as a `Buffer`.