mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			207 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			207 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function f(bytes memory data) public pure returns (uint256) {
 | |
|         return abi.decode(data, (uint256));
 | |
|     }
 | |
| }
 | |
| 
 | |
| // ====
 | |
| // compileViaYul: also
 | |
| // ----
 | |
| // f(bytes): 0x20, 0x20, 0x21 -> 33
 |