Skip to content

hexConcat

hexConcat(items): string

Defined in: utils/bytes.ts:535

Concatenates values together into one hex string

readonly BytesLike[]

the items to concatenate together

string

a single hex string including all of the items to be concatenated

hexConcat([[2, 4, 0, 1], 9, '0x2934', '0x3947']);
// '0x020400010929343947'