BtcSerializer
- Source:
- Protocol.scala
class Object
trait Matchable
class Any
object Addr.type
object Block.type
object BlockHeader.type
object Getblocks.type
object Getdata.type
object Getheaders.type
object Headers.type
object Inventory.type
object InventoryVector.type
object MerkleBlock.type
object Message.type
object NetworkAddress.type
object NetworkAddressWithTimestamp.type
object OutPoint.type
object Reject.type
object ScriptWitness.type
object Transaction.type
object TxIn.type
object TxOut.type
object Version.type
Value members
Abstract methods
read a message from a stream
read a message from a stream
- Value parameters:
- in
input stream
- Returns:
a deserialized message
- Source:
- Protocol.scala
write a message to a stream
write a message to a stream
- Value parameters:
- out
output stream
- t
message
- Source:
- Protocol.scala
Concrete methods
read a message from a byte array
read a message from a byte array
- Value parameters:
- in
serialized message
- Returns:
a deserialized message
- Source:
- Protocol.scala
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
- Source:
- Protocol.scala
write a message to a byte array
write a message to a byte array
- Value parameters:
- t
message
- Returns:
a serialized message
- Source:
- Protocol.scala