InMemoryDatagram

class InMemoryDatagram(val from: Endpoint.Udp, val to: Endpoint, val bytes: ByteArray)(source)

A datagram on its way through an InMemoryNetwork. bytes is the sender's copy; do not modify it.

Constructors

Link copied to clipboard
constructor(from: Endpoint.Udp, to: Endpoint, bytes: ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String