Skip to content

Commit add25eb

Browse files
committed
Small fix.
1 parent 8678dbe commit add25eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private function uploadCompleteDataHandler(event:DataEvent):void
198198
}
199199
```
200200

201-
It is required to send the file as a `String` that represents the file bytes and use the `uploadEncoded` method.
201+
It is required to send the file as a `String` that represents the file bytes and use the `uploadUnencoded` method.
202202

203203
## Uploading with Auth
204204

@@ -211,6 +211,7 @@ private function uploadFile(authToken:String):void
211211
212212
var fileStream:FileStream = new FileStream();
213213
fileStream.open(file, FileMode.READ);
214+
214215
var bytes:ByteArray = new ByteArray();
215216
fileStream.readBytes(bytes);
216217
fileStream.close();

0 commit comments

Comments
 (0)