LArray

Git Source

Functions

toUintA

function toUintA(types.Array position) internal pure returns (uint256[] storage data);

toAddressA

function toAddressA(types.Array position) internal pure returns (address[] storage data);

toBoolA

function toBoolA(types.Array position) internal pure returns (bool[] storage data);

toBytes32A

function toBytes32A(types.Array position) internal pure returns (bytes32[] storage data);

del

function del(types.Array position) internal;

dangerousDirtyDel

This delete can be used if and only if we only want to clear the length of the array. Doing so will create an array that behaves like an empty array in solidity. It can have advantages if we often rewrite to the same slots of the array. Prefer using del if you don't know what you're doing.

function dangerousDirtyDel(types.Array position) internal;