>be ( x n -- byte-array )
Working with binary data

Prev:le> ( seq -- x )
Next:>le ( x n -- byte-array )


Vocabulary
endian

Inputs
xan integer
na non-negative integer


Outputs
byte-arraya byte-array


Word description
Converts an integer x into a string of n bytes in big endian order. Truncation will occur if the integer is not in the range [-2^(8n),2^(8n)).

Definition