rdy.go
func (c Rdy) Write(w *bufio.Writer) (err error) {
	if _, err = w.WriteString("RDY "); err != nil {
		err = errors.Wrap(err, "writing RDY command")
		return
	}

	b := strconv.AppendUint(make([]byte, 0, 64), uint64(c.Count), 10)
	b = append(b, '\n')

	if _, err = w.Write(b); err != nil {
		err = errors.Wrap(err, "writint RDY count")
		return
	}

	return
}
func (c Rdy) Write(w *bufio.Writer) (err error) {
	if _, err = w.WriteString("RDY "); err != nil {
		err = errors.Wrap(err, "writing RDY command")
		return
	}

	b := strconv.AppendUint(make([]byte, 0, 64), uint64(c.Count), 10)
	b = append(b, '\n')

	if _, err = w.Write(b); err != nil {
		err = errors.Wrap(err, "writint RDY count")
		return
	}

	return
}
// Write serializes the command to the given buffered output, satisfies the
// Command interface.