Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

byte to integer js

var reverseBits = function(n) {
    let x = parseInt(n, 2)
    console.log(x)
};

const data = reverseBits('00111001011110000010100101000000')
 
PREVIOUS NEXT
Tagged: #byte #integer #js
ADD COMMENT
Topic
Name
7+3 =