Skip to main content
Version: 1.5.0

Concatenating

Two or more bytes can be concatenated.

const two: bytes = Bytes.concat(0x70, 0xAA);
const three: bytes = Bytes.concats(list([0x70, 0xAA, 0xFF]));