public static function FromBinary(value:String):uint
Converts a base-2 binary string representation of a number into its base-10 integer.
Parameters
| value:String — A binary string to convert into an unsigned integer.
|
Returns
| uint — An unsigned integer representing the input binary formatted string.
|
public static function ToBinary(value:int):String
Converts an integer to its binary representation and returns a string.
Parameters
| value:int — An int to perform conversion on.
|
Returns
| String — A string representing a base-2 copy of the input value.
|