Addr

object Addr extends BtcSerializer[Addr]
Companion:
class
Source:
Protocol.scala
trait Product
trait Mirror
class Object
trait Matchable
class Any
Addr.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

override def read(in: InputStream, protocolVersion: Long): Addr
Definition Classes
Source:
Protocol.scala
override def write(t: Addr, out: OutputStream, protocolVersion: Long): Unit
Definition Classes
Source:
Protocol.scala

Inherited methods

def read(in: String): Addr
Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: String, protocolVersion: Long): Addr

read a message from a hex string

read a message from a hex string

Value parameters:
in

message binary data in hex format

Returns:

a deserialized message of type T

Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: Array[Byte]): Addr
Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: Array[Byte], protocolVersion: Long): Addr

read a message from a byte array

read a message from a byte array

Value parameters:
in

serialized message

Returns:

a deserialized message

Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: InputStream): Addr
Inherited from:
BtcSerializer
Source:
Protocol.scala
def validate(t: Addr): Unit
Inherited from:
BtcSerializer
Source:
Protocol.scala
Inherited from:
BtcSerializer
Source:
Protocol.scala
def write(t: Addr, protocolVersion: Long): ByteVector

write a message to a byte array

write a message to a byte array

Value parameters:
t

message

Returns:

a serialized message

Inherited from:
BtcSerializer
Source:
Protocol.scala
def write(t: Addr, out: OutputStream): Unit
Inherited from:
BtcSerializer
Source:
Protocol.scala