maximum length as argument when deserializing c strings