fun readFrom(reader: RLPReader): Endpoint
(source)
Create an Endpoint by reading fields from the RLP input stream.
If the fields are wrapped into an RLP list, use reader.readList
to unwrap before calling this method.
reader
- the RLP input stream from which to read
RLPException
- if the RLP source does not decode to a valid endpoint
Return
the decoded endpoint