Method: I2P::Destination.read
- Defined in:
- lib/i2p/data/destination.rb
.read(input) ⇒ Destination
Reads a destination from the given ‘input` stream.
18 19 20 |
# File 'lib/i2p/data/destination.rb', line 18 def self.read(input) self.new(PublicKey.read(input), SigningPublicKey.read(input), Certificate.read(input)) end |