Unable to use FileStream.writeBytes() method
By Rob Guinness
12 Jun 2014 05:22
English
3 Replies
I have been trying for half a day to write binary data to a file using the FileStream.writeBytes() method. According to the documentation, it should accept an argument like this:
writeBytes(octet[] byteData)
But, as far as I know, Javascript does not have a data type "octet[]". I tried using a normal array and also things like ArrayBuffer, but everytime I get a message in the console:
TypeMismatchError: Type mismatch error
Please advise.
Kind regards,
Rob
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------