Documentation

Numeric
in package

It's a numeric type instance for ethereum recursive length encoding.

Note: there is only static function in this class.

Tags
author

Peter Lai alk03073135@gmail.com

link
https://www.web3p.xyz
filesource

https://github.com/web3p/rlp

Table of Contents

encode()  : string
Return hex encoded of numeric string.

Methods

encode()

Return hex encoded of numeric string.

public static encode(string $input) : string
Parameters
$input : string

numeric string

Return values
string

encoded hex of input

Search results