t
org.bitcoins.core.serializers.p2p
RawNetworkMessageSerializer
Companion object RawNetworkMessageSerializer
trait RawNetworkMessageSerializer extends RawBitcoinSerializer[NetworkMessage]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- RawNetworkMessageSerializer
- RawBitcoinSerializer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def read(bytes: ByteVector): NetworkMessage
Reads in bytes and transforms it into the appropriate scala type T.
Reads in bytes and transforms it into the appropriate scala type T.
- Definition Classes
- RawNetworkMessageSerializer → RawBitcoinSerializer
- def read(hex: String): NetworkMessage
Reads a hexadecimal value and transforms it into the native scala type T.
Reads a hexadecimal value and transforms it into the native scala type T.
- Definition Classes
- RawBitcoinSerializer
- def write(networkMessage: NetworkMessage): ByteVector
Takes a type T and writes it into the appropriate hexadecimal serialization for type T.
Takes a type T and writes it into the appropriate hexadecimal serialization for type T.
- Definition Classes
- RawNetworkMessageSerializer → RawBitcoinSerializer