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:
Unable to use FileStream.writeBytes() method
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:
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
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio