bigIntToBytes

private fnubyte[] bigIntToBytes(BigInt val) @safe

Converts a non-negative BigInt to minimal big-endian unsigned bytes.

Parameters

valThe BigInt value to convert.

Returns

The big-endian unsigned byte representation.