Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Llamas committed Sep 8, 2012
1 parent 8e3d3e3 commit e1db729
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Expand Up @@ -38,7 +38,7 @@ new BufferedReader ("file", { encoding: "utf8" })
this.readBytes (9, function (error, bytes, bytesRead){
if (error) return console.log (error);

console.log (bytes.toString ());
console.log (bytes.toString ()); //Prints: Curabitur

this.close (function (error){
if (error) console.log (error);
Expand All @@ -49,6 +49,19 @@ new BufferedReader ("file", { encoding: "utf8" })
.read ();
```

file:

```text
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Morbi convallis nibh massa, eu varius felis.
Phasellus ultrices ligula sed odio ultricies egestas.
Curabitur pretium magna in diam accumsan dignissim.
Phasellus et tortor eu orci suscipit vehicula.
Phasellus pulvinar mauris in purus consequat vel congue orci hendrerit.
Pellentesque eget arcu magna, suscipit imperdiet eros.
```

***

<a name="availability"></a>
Expand Down

0 comments on commit e1db729

Please sign in to comment.