Skip to main content

int32_to_binary_string

Constants

MAX_VALUE : number

2147483647

MIN_VALUE : number

-2147483648

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

ParamTypeDescription
input_valuenumber
[byte_separator]stringinsert this string between each group of 8 bits, defaults to a space

Example

1024    -> "00000000 00000000 00000100 00000000"

Example

-1      -> "11111111 11111111 11111111 11111111"