codec-utils v0.3.4encodeIntBEOn this pageencodeIntBE export function encodeIntBE(x: IntLike): number[] Converts an unbounded integer into a list of big endian uint8 numbers. Throws an error if x is negative. Arguments 1. x x: IntLike Returns number[]