MCPcopy Create free account
hub / github.com/cryptocoinjs/base-x / uint8ArrayToHexString

Function uint8ArrayToHexString

test/index.js:7–9  ·  view source on GitHub ↗
(uint8)

Source from the content-addressed store, hash-verified

5const { alphabets, invalid, valid } = fixtures
6
7const uint8ArrayToHexString = (uint8) => {
8 return Array.from(uint8).reduce((acc, curr) => `${acc}${curr.toString(16).padStart(2, '0')}`, '')
9}
10
11const uint8ArrayFromHexString = (string) => {
12 if (!string.length) {

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…