Public Member Functions | |
__construct ($data) | |
getCharLength () | |
get () | |
Protected Attributes | |
$rlpData | |
$dataStrLength | |
$paddedStrLength | |
Additional Inherited Members | |
![]() | |
static | encode (string $val) |
static | decode (string $hexVal) |
static | getByteValueAtOffsetPos (string $msgData, int $pos) |
![]() | |
static | getMethodSignature ($input) |
static | phpKeccak256 ($string) |
static | sha3 ($string) |
static | isValidFunction ($input) |
static | getDefinition () |
static | isValidHexQuantity ($str) |
static | isValidHexData ($str) |
static | isValidAddress ($address, $throw=false) |
static | hasHexPrefix ($str) |
static | removeHexPrefix ($str) |
static | ensureHexPrefix ($str) |
static | convertCurrency (float $amount, string $from='wei', string $to='ether') |
![]() | |
const | THRESHOLD_LONG = 110 |
const | PREF_SELF_CONTAINED = 127 |
const | OFFSET_SHORT_ITEM = 128 |
const | OFFSET_LONG_ITEM = 183 |
const | OFFSET_SHORT_LIST = 192 |
const | OFFSET_LONG_LIST = 247 |
![]() | |
static | processSingleByteItem (string $msgData, RLPCollection $rlpCollection, int $currentPos) |
static | getByteValueAt (string $msgData, int $pos) |
static | getStringLengthAt (string $msgData, int $pos) |
static | getByteLength (int $l) |
static | getLengthInByte (string $str, int $currentPos) |
static | paddedLength (int $length) |
Definition at line 6 of file RlpItem.php.
__construct | ( | $data | ) |
Definition at line 18 of file RlpItem.php.
get | ( | ) |
Definition at line 31 of file RlpItem.php.
References RlpItem\$rlpData.
getCharLength | ( | ) |
Definition at line 26 of file RlpItem.php.
References RlpItem\$paddedStrLength.
|
protected |
Definition at line 13 of file RlpItem.php.
|
protected |
Definition at line 16 of file RlpItem.php.
Referenced by RlpItem\getCharLength().
|
protected |
Definition at line 10 of file RlpItem.php.
Referenced by RlpItem\get().