Permalink
Browse files

updated readme

  • Loading branch information...
Gabriel Llamas
Gabriel Llamas committed Dec 13, 2012
1 parent c185944 commit 1a44fbcbc037aed8533586cfd4ff3f02e8971fac
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -83,6 +83,6 @@ Returns the `Writer` instance for chaining methods.
<a name="writeln"></a>
__Writer#writeln(data[, offset[, length]])__
-Does the same than `write()` but stringifies the data and concatenates an EOL, OS dependent, `\r\n` on Windows, `\n` otherwise.
+Does the same as `write()` but stringifies the data and concatenates an EOL, OS dependent, `\r\n` on Windows, `\n` otherwise.
The offset and length specifies the slice of the given piece of data that will be written. By default offset is 0 and length is the last byte/character. The offset and length are applied to the string characters, not the bytes, for example, `write("↑a", 1)` will write `a` because offset is 1. Take into account that `↑` is encoded with 3 bytes in utf8.

0 comments on commit 1a44fbc

Please sign in to comment.