Browse Source

Update README.md

wkh237 7 years ago
parent
commit
0848d50c86
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      README.md

+ 2
- 2
README.md View File

@@ -608,10 +608,10 @@ When calling `readStream` method, you have to `open` the stream, and start to re
608 608
 ```js
609 609
 let data = ''
610 610
 RNFetchBlob.fs.readStream(
611
-    // encoding, should be one of `base64`, `utf8`, `ascii`
612
-    'base64',
613 611
     // file path
614 612
     PATH_TO_THE_FILE,
613
+    // encoding, should be one of `base64`, `utf8`, `ascii`
614
+    'base64',
615 615
     // (optional) buffer size, default to 4096 (4095 for BASE64 encoded data)
616 616
     // when reading file in BASE64 encoding, buffer size must be multiples of 3.
617 617
     4095)