Skip to main content
Version: 1.6.0

Concatenating

Two or more bytes can be concatenated.

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