Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 13, 2017
1 parent 2a49072 commit 4ad21e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Java version required: 1.8+.

## Input/Output

To read a file:
To read a text file in UTF-8:

```java
String text = new BytesAsText(
Expand Down Expand Up @@ -86,7 +86,7 @@ To read a binary file from classpath:

```java
byte[] data = new InputAsBytes(
new ResourceAsInput("/foo/img.jpg")
new ResourceAsInput("foo/img.jpg")
).asBytes();
```

Expand Down

0 comments on commit 4ad21e2

Please sign in to comment.