int32_to_binary_string
Constants
Functions
- int32_to_binary_string(input_value, [byte_separator]) ⇒
string
Converts an integer to easily readable binary string representation
MAX_VALUE : number
2147483647
Kind: global constant
MIN_VALUE : number
-2147483648
Kind: global constant
int32_to_binary_string(input_value, [byte_separator]) ⇒ string
Converts an integer to easily readable binary string representation
Kind: global function
Param | Type | Description |
---|---|---|
input_value | number | |
[byte_separator] | string | insert this string between each group of 8 bits, defaults to a space |
Example
1024 -> "00000000 00000000 00000100 00000000"
Example
-1 -> "11111111 11111111 11111111 11111111"