omni::structuredlog::kMaxMessageLengthBase64

Defined in omni/structuredlog/IStructuredLog.h

constexpr size_t omni::structuredlog::kMaxMessageLengthBase64 = (kMaxMessageLength * 6) / 8

Approximate size of the maximum data payload in bytes that a message can contain that can be transmitted in a single message when the payload is encoded in Base64.

This is a matter of the typical message transmission limit for some data servers minus the average additional space needed for the message body and other identifying information, then converted to Base64’s 6-to-8 bit encoding ratio (ie: every 6 bits of input data converts to 8 bits of encoded data). Note that this is only an approximate guideline and should not be taken as an exact limit.