Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 0848d50

Browse files
authored
Update README.md
1 parent 5b326c0 commit 0848d50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,10 +608,10 @@ When calling `readStream` method, you have to `open` the stream, and start to re
608608
```js
609609
let data = ''
610610
RNFetchBlob.fs.readStream(
611-
// encoding, should be one of `base64`, `utf8`, `ascii`
612-
'base64',
613611
// file path
614612
PATH_TO_THE_FILE,
613+
// encoding, should be one of `base64`, `utf8`, `ascii`
614+
'base64',
615615
// (optional) buffer size, default to 4096 (4095 for BASE64 encoded data)
616616
// when reading file in BASE64 encoding, buffer size must be multiples of 3.
617617
4095)

0 commit comments

Comments
 (0)