sizerStringSizeValue()

Builds a string return value size for the specified string length.

Syntax

The method has the following syntax:
uint64 sizerStringSizeValue(int len) const;

Description

The method builds a return value for the calculateSize() method by using the specified string length len. The string length must be in characters, not bytes.

Throws

The method throws an exception if the return type is not a string.