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

Function binaryToDecimal

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

Source from the content-addressed store, hash-verified

54}
55
56export function binaryToDecimal(binary) {
57 return parseInt(binary, 2);
58}
59
60export function appendOneBit(input) {
61 return input + 1;

Callers 1

binaryToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected