MCPcopy Index your code
hub / github.com/dmarman/sha256algorithm / binaryToHex

Function binaryToHex

src/classes/utils.js:40–42  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

38}
39
40export function binaryToHex(binary) {
41 return parseInt(binary, 2).toString(16);
42}
43
44export function binaryToString(binary) {
45 let decimal = chunkString(binary, 8).map(value => binaryToDecimal(value));

Callers 1

onInputBaseChangeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected