code: func (h *Handler) writeProtobufQueryResponse(w io.Writer, resp *pilosa.QueryResponse) error {
  	if buf, err := h.api.Serializer.Marshal(resp); err != nil {
  		return errors.Wrap(err, "marshalling")
  	} else if _, err := w.Write(buf); err != nil {
  		return errors.Wrap(err, "writing")
  	}
  	return nil
  }
docs: // writeProtobufQueryResponse writes the response from the executor to w as protobuf.