ot::StringWriter::IsTruncated() const method
Returns whether the output is truncated.
Syntax
bool IsTruncated(void) const;
Return value
true The output is truncated. false The output is not truncated.
Notes
If the output is truncated, the buffer is still null-terminated.