Core Function BinaryWipe

From Sputnik Wiki
Jump to: navigation, search
BinaryWipe( <binary-array> )

Contents

Description

Wipes a binary variables data 100% and sets the variable to a blank int containing null.

Parameters

binary-array

The binary variable to wipe.

Return Value

Success: Returns 1.

Failure: Returns 0.

Remarks

This will wipe not only this variable but all variables that are using to this binary variable as a ref etc.

Example

$binary = Pack("A*", "Hello World!\n" x 1000);
println( "Before Wipe: " . Unpack("A*", $binary, 3) );
BinaryWipe($binary);
println( "After Wipe: " . $binary );

Also, this is just as effective.

$binary = Pack("A*", "Hello World!\n" x 1000);
println( "Before Wipe: " . Unpack("A*", $binary, 3) );
unset($binary);
println( "After Wipe: " . $binary );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox