Skip to main content

PackedUint256

PackedUint256

PackedUint256Error

error PackedUint256Error(uint256 errorCode)

get8Unsafe

function get8Unsafe(uint256 packed, uint256 index) internal pure returns (uint8 ret)

get8

function get8(uint256 packed, uint256 index) internal pure returns (uint8 ret)

get16Unsafe

function get16Unsafe(uint256 packed, uint256 index) internal pure returns (uint16 ret)

get16

function get16(uint256 packed, uint256 index) internal pure returns (uint16 ret)

get32Unsafe

function get32Unsafe(uint256 packed, uint256 index) internal pure returns (uint32 ret)

get32

function get32(uint256 packed, uint256 index) internal pure returns (uint32 ret)

get64Unsafe

function get64Unsafe(uint256 packed, uint256 index) internal pure returns (uint64 ret)

get64

function get64(uint256 packed, uint256 index) internal pure returns (uint64 ret)

add8Unsafe

function add8Unsafe(uint256 packed, uint256 index, uint8 value) internal pure returns (uint256 ret)

add8

function add8(uint256 packed, uint256 index, uint8 value) internal pure returns (uint256 ret)

add16Unsafe

function add16Unsafe(uint256 packed, uint256 index, uint16 value) internal pure returns (uint256 ret)

add16

function add16(uint256 packed, uint256 index, uint16 value) internal pure returns (uint256 ret)

add32Unsafe

function add32Unsafe(uint256 packed, uint256 index, uint32 value) internal pure returns (uint256 ret)

add32

function add32(uint256 packed, uint256 index, uint32 value) internal pure returns (uint256 ret)

add64Unsafe

function add64Unsafe(uint256 packed, uint256 index, uint64 value) internal pure returns (uint256 ret)

add64

function add64(uint256 packed, uint256 index, uint64 value) internal pure returns (uint256 ret)

sub8Unsafe

function sub8Unsafe(uint256 packed, uint256 index, uint8 value) internal pure returns (uint256 ret)

sub8

function sub8(uint256 packed, uint256 index, uint8 value) internal pure returns (uint256 ret)

sub16Unsafe

function sub16Unsafe(uint256 packed, uint256 index, uint16 value) internal pure returns (uint256 ret)

sub16

function sub16(uint256 packed, uint256 index, uint16 value) internal pure returns (uint256 ret)

sub32Unsafe

function sub32Unsafe(uint256 packed, uint256 index, uint32 value) internal pure returns (uint256 ret)

sub32

function sub32(uint256 packed, uint256 index, uint32 value) internal pure returns (uint256 ret)

sub64Unsafe

function sub64Unsafe(uint256 packed, uint256 index, uint64 value) internal pure returns (uint256 ret)

sub64

function sub64(uint256 packed, uint256 index, uint64 value) internal pure returns (uint256 ret)

update8Unsafe

function update8Unsafe(uint256 packed, uint256 index, uint8 value) internal pure returns (uint256 ret)

update8

function update8(uint256 packed, uint256 index, uint8 value) internal pure returns (uint256 ret)

update16Unsafe

function update16Unsafe(uint256 packed, uint256 index, uint16 value) internal pure returns (uint256 ret)

update16

function update16(uint256 packed, uint256 index, uint16 value) internal pure returns (uint256 ret)

update32Unsafe

function update32Unsafe(uint256 packed, uint256 index, uint32 value) internal pure returns (uint256 ret)

update32

function update32(uint256 packed, uint256 index, uint32 value) internal pure returns (uint256 ret)

update64Unsafe

function update64Unsafe(uint256 packed, uint256 index, uint64 value) internal pure returns (uint256 ret)

update64

function update64(uint256 packed, uint256 index, uint64 value) internal pure returns (uint256 ret)

total32

function total32(uint256 packed) internal pure returns (uint256)

total64

function total64(uint256 packed) internal pure returns (uint256)

sum32

function sum32(uint256 packed, uint256 from, uint256 to) internal pure returns (uint256)

sum64

function sum64(uint256 packed, uint256 from, uint256 to) internal pure returns (uint256)