Core Function BinarySave
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> BinarySave( <binary-array>, <file> ) </pre> === Description === Save a binary variable data to file. === Parameters === ==== <binary-array> ==== The binary variable yo...")
Newer edit →
(Created page with "<pre> BinarySave( <binary-array>, <file> ) </pre> === Description === Save a binary variable data to file. === Parameters === ==== <binary-array> ==== The binary variable yo...")
Newer edit →
Revision as of 09:46, 12 November 2011
BinarySave( <binary-array>, <file> )
Contents |
Description
Save a binary variable data to file.
Parameters
<binary-array>
The binary variable you want saving to file.
file
Name of file to save (Will create if it doesnt exist).
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
This will even accurately save exe files without damage so they can run.
Example
$binary = BinaryLoad("Sputnik.exe") println("Size is : " . BinaryLen($binary) ) BinarySave($binary, "SputnikTest.exe")