@Validate
public static byte[] getBytes(@NotNull final UnsignedInteger value)
{
val bi = value.bigIntegerValue();
byte[] ba = new byte[] {(byte) (0xff & ((bi.shiftRight(24).intValue()))), (byte) (0xff & ((bi.shiftRight(16).intValue()))),
(byte) (0xff & ((bi.shiftRight(8).intValue()))), (byte) (0xff & bi.intValue())};
return LITTLE_ENDIAN ? reverse(ba) : ba;
}