Yeah, please include a link to the spec. The null-termination thing is non-obvious.