Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bytes32ArraysMock

State Variables

_array

bytes32[] private _array;

Functions

constructor

constructor(bytes32[] memory array);

unsafeAccess

function unsafeAccess(uint256 pos) external view returns (bytes32);

sort

function sort(bytes32[] memory array) external pure returns (bytes32[] memory);

sortReverse

function sortReverse(bytes32[] memory array) external pure returns (bytes32[] memory);

_reverse

function _reverse(bytes32 a, bytes32 b) private pure returns (bool);

unsafeSetLength

function unsafeSetLength(uint256 newLength) external;

length

function length() external view returns (uint256);