Ether Binder
Set of utilities for interacting with Ethereum and it's smart contracts with PHP, with generating ABI bindings and Ethereum-related types
|
Static Public Member Functions | |
static | decodeRLPHex (string $hex) |
static | decodeRLPBin (string $bin) |
Protected Member Functions | |
__construct (string $dataBin) | |
decode () | |
getByteStr (int $len) | |
getByte (int $len=1) | |
decodeEntry () | |
decodeArray (int $size) | |
Decoder class for handling the RLP decoding process. Operates on binary data internally. Expects the RLP data to be well-formed or will throw EthBinderLogicException
|
protected |
EthBinderLogicException |
|
protected |
EthBinderLogicException |
|
protected |
EthBinderLogicException |
|
static |
Decodes RLP-encoded data provided in binary form. It wraps output in array.
string | $bin | Binary RLP-encoded data. |
EthBinderLogicException |
|
static |
Decodes RLP-encoded data provided in hexadecimal form. It wraps output in array.
string | $hex | Hexadecimal RLP-encoded data. |
EthBinderLogicException |
|
protected |
EthBinderLogicException |
|
protected |
EthBinderLogicException |