Core Function BinaryLoad

From Sputnik Wiki
Revision as of 09:45, 12 November 2011 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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")
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox