Canonical Form¶
Rewriting generic strings in canonical form.
-
ExessVariableResult exess_write_canonical(ExessDatatype datatype, const char *str, size_t buf_size, char *buf)¶
Rewrite a supported datatype in canonical form.
- Parameters:
datatype – Datatype of value.
str – Input value string.
buf_size – Size of
bufin bytes.buf – Output buffer, or null to only measure.
- Returns:
The
read_countfromstr,write_counttobuf(both in bytes), and astatus. The status may be an error from reading or writing.