Serializes an entry so it is at most maxBytes (DECISIONS 7). An oversized entry gets its message cut at a character boundary and grow.truncated: true. Returns undefined when even an empty message does not fit (the metadata alone is too large).
maxBytes
message
grow.truncated: true
undefined
Serializes an entry so it is at most
maxBytes(DECISIONS 7). An oversized entry gets itsmessagecut at a character boundary andgrow.truncated: true. Returnsundefinedwhen even an empty message does not fit (the metadata alone is too large).