Answers for "js binary ascii to hex"

1

javascript hex to binary

function hex2bin(hex){
    return ("00000000" + (parseInt(hex, 16)).toString(2)).substr(-8);
}
Posted by: Guest on August-18-2021
1

binary to ascii javascript

const binaryAgent = str => str.replace(/\d+./g, char => String.fromCharCode(`0b${char}`));
Posted by: Guest on August-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language