func (rs *RoundStateSimple) MarshalTo(data []byte) (int, error) {
	bs, err := rs.Marshal()
	if err != nil {
		return -1, err
	}
	return copy(data, bs), nil
}
// MarshalTo calls Marshal and copies to the given buffer.
MarshalTo calls Marshal and copies to the given buffer.
// MarshalTo calls Marshal and copies to the given buffer .
func (rs *RoundStateSimple) MarshalTo(data []byte) (int, error) {
	bs, err := rs.Marshal()
	if err != nil {
		return -1, err
	}
	return copy(data, bs), nil
}
func ( rs * RoundStateSimple ) MarshalTo ( data [ ] byte ) ( int , error ) { bs , err := rs . Marshal ( ) if err != nil { return - 1 , err } return copy ( data , bs ) , nil }
MarshalTo calls Marshal and copies to the given buffer.
MarshalTo calls Marshal and copies to the given buffer .