cbor v0.3.1encodeBytesOn this pageencodeBytes export function encodeBytes( bytes: number[], splitIntoChunks: boolean): number[] Wraps a list of bytes using CBOR. Optionally splits the bytes into chunks. Arguments 1. bytes bytes: number[] 2. splitIntoChunks splitIntoChunks: boolean Returns number[] cbor bytes