bigIntToBytes

private fnubyte[] bigIntToBytes(BigInt val) @safe

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