peekPayloadLength

fun peekPayloadLength(payload: ByteArray): Int

Peek at the first bytes of the per-hop payload to extract its length.