Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Writes hex encoded data.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
BinaryFile | 7.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
BinaryFileRef | The reference number for the open file. | $FH |
HexText | The hex encoded data as text. | "48656C6C6F20576F726C64" |
Returns number of bytes written or error.
Write Hello World to text:
Set Variable [ $fh ; Value: MBS( "BinaryFile.Create"; "/Users/cs/Desktop/test.txt" ) ]
Set Variable [ $r ; Value: MBS( "BinaryFile.WriteHex"; $fh; "48656C6C6F20576F726C64") ]
Set Variable [ $r ; Value: MBS( "BinaryFile.Close"; $fh) ]
This function checks for a license.
Created 12nd June 2017, last changed 10th May 2023