reads the current status from a string (that should have been trimmed) returns the number of chars read
writes the current status in a string
See Implementation