rlpx / org.apache.tuweni.rlpx / RLPxConnection / write

write

fun write(message: RLPxMessage): Bytes (source)

Frames a message for sending to an RLPx peer, encrypting it and calculating the appropriate MACs.

Parameters

message - The message to frame.

Return
The framed message, as byte buffer.