estimateSize

open fun estimateSize(): Int

A function to estimate the size of a message. The estimate should only consist of the payload, not the header.