<NA>
<NA>
function uintToBytes(uint256 x) pure returns (bytes memory b) {
    b = new bytes(32);
    assembly {
        mstore(add(b, 32), x)
    }
}
/**
 * @dev converts uint256 to a bytes(32) object
 */