Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ZipFile.WriteHex
Writes data into the zip archive.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Compression | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "ZipFile.WriteHex"; text ) More
Parameters
Parameter | Description | Example |
---|---|---|
text | The text to write. | "48656C6C6F20576F726C64" |
Result
Returns "OK" on success.
Description
Writes data into the zip archive.The data is encoded as hex string, so you can pass any byte values as a text. The hex string is decoded before writing.
Please use ZipFile.CreateFile first to create a new file before writing to it.
Examples
Creates a text file:
MBS( "ZipFile.CreateFile"; "test.txt"; $date )
MBS( "ZipFile.WriteHex"; "48656C6C6F20576F726C64" )
See also
Example Databases
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014