func (s *Span) write(w *typed.WriteBuffer) error { w.WriteUint64(s.traceID) w.WriteUint64(s.parentID) w.WriteUint64(s.spanID) w.WriteSingleByte(s.flags) return w.Err() }