36 throw new \InvalidArgumentException(
37 'Value of dynamic ABI type is not a valid hex string.' 56 if (strlen($val) % 2 !== 0) {
57 throw new \InvalidArgumentException(
58 'A valid bytes string must have a even number of letters.' 73 return new EthBytes(self::ensureHexPrefix($rlpItem[0]->
get()));
static cretateFromRLP($hexVal)
validate($val, array $params)
static ensureHexPrefix($str)
static decode(string $hexVal)
static getDataLengthType()
static encode(string $val)
static removeHexPrefix($str)