BytesLib

BytesLib

This file documents a contract which is not yet deployed to Mainnet.

concatStorage

function concatStorage(bytes _preBytes, bytes _postBytes) internal

equalStorage

function equalStorage(bytes _preBytes, bytes _postBytes) internal view returns (bool)

concat

function concat(bytes _preBytes, bytes _postBytes) internal pure returns (bytes)

slice

function slice(bytes _bytes, uint256 _start, uint256 _length) internal pure returns (bytes res)

toAddress

function toAddress(bytes _bytes, uint256 _start) internal pure returns (address)

toUint8

function toUint8(bytes _bytes, uint256 _start) internal pure returns (uint8)

toUint

function toUint(bytes _bytes, uint256 _start) internal pure returns (uint256)

equal

function equal(bytes _preBytes, bytes _postBytes) internal pure returns (bool)

toBytes32

function toBytes32(bytes _source) internal pure returns (bytes32 result)

keccak256Slice

function keccak256Slice(bytes _bytes, uint256 _start, uint256 _length) internal pure returns (bytes32 result)

Last updated