Core Function BinaryLoad
From Sputnik Wiki
BinaryLoad( <file> )
Contents |
Description
Create a new binary variable by loading binary data from a file.
Parameters
file
Name of file to load.
Return Value
Success: Returns the new binary variable.
Failure: Returns 0.
Remarks
This will even accurately load exe files so they can be saved again without damage.
Example
$binary = BinaryLoad("Sputnik.exe") println("Size is : " . BinaryLen($binary) ) BinarySave($binary, "SputnikTest.exe")