fun write(message: RLPxMessage!): Bytes!
(source)
Frames a message for sending to an RLPx peer, encrypting it and calculating the appropriate MACs.
message
- RLPxMessage!: The message to frame.
Return
Bytes!: The framed message, as byte buffer.