mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			300 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			300 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma abicoder               v2;
 | 
						|
 | 
						|
 | 
						|
contract C {
 | 
						|
    function f(bytes calldata data)
 | 
						|
        external
 | 
						|
        pure
 | 
						|
        returns (uint256[2][3] memory)
 | 
						|
    {
 | 
						|
        return abi.decode(data, (uint256[2][3]));
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// f(bytes): 0x20, 0xc0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6 -> 1, 2, 3, 4, 5, 6
 |