func NewEcho(r io.Reader) (data Echo, err error) {
	if err = binary.Read(r, binary.BigEndian, &data.Header); err != nil {
		return
	}
	data.Payload, err = ioutil.ReadAll(r)
	return
}
// NewEcho reads echo request/reply data from a reader.
NewEcho reads echo request/reply data from a reader.
// NewEcho reads echo request / reply data from a reader .
func NewEcho(r io.Reader) (data Echo, err error) {
	if err = binary.Read(r, binary.BigEndian, &data.Header); err != nil {
		return
	}
	data.Payload, err = ioutil.ReadAll(r)
	return
}
func NewEcho ( r io . Reader ) ( data Echo , err error ) { if err = binary . Read ( r , binary . BigEndian , & data . Header ) ; err != nil { return } data . Payload , err = ioutil . ReadAll ( r ) return }
NewEcho reads echo request/reply data from a reader.
NewEcho reads echo request / reply data from a reader .