浏览代码

Update README.md

wkh237 8 年前
父节点
当前提交
0848d50c86
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      README.md

+ 2
- 2
README.md 查看文件

@@ -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)