encode

fun encode(fix: Fix): String

Serialize one fix. Absent optional values are written as empty fields, not as 0, because "no speed reported" and "stationary" are different facts and conflating them silently changes how a jitter gate behaves.