encodeBeacon

fun encodeBeacon(json: Json, p: NodeWire): ByteArray(source)

Encodes a NodeWire to UTF-8 JSON bytes suitable for a multicast datagram.