@JvmStatic fun fromRLP(rlp: Bytes): EthereumNodeRecord
(source)
Creates an ENR from its serialized form as a RLP list
rlp
- the serialized form of the ENR
IllegalArgumentException
- if the rlp bytes length is longer than 300 bytes
Return
the ENR
@JvmStatic fun fromRLP(reader: RLPReader): EthereumNodeRecord
(source)@JvmStatic fun fromRLP(reader: RLPReader, rlp: Bytes): EthereumNodeRecord
(source)
Creates an ENR from its serialized form as a RLP list
IllegalArgumentException
- if the rlp bytes length is longer than 300 bytes
Return
the ENR