//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.17; contract TestBits { bytes32 b = 0x3a32303138313133303030303030302b30383030000100005649500000412d31; uint256 u = 0x3a32303138313133303030303030302b30383030000100005649500000412d31; function b_to_bytes1() public view returns(bytes1) { return bytes1(b); } function b_to_byte() public view returns(bytes1) { return byte(b); } function b_to_bytes16() public view returns(bytes16) { return bytes16(b); } function u_to_bytes1() public view returns(bytes1) { return bytes1(u); } function u_to_byte() public view returns(bytes1) { return byte(u); } function u_to_bytes16() public view returns(bytes16) { return bytes16(u); } }
0.4.18