code: func (r *ListProcessesRequest) MarshalBinary() ([]byte, error) {
  	r.Body.NumPids = uint32(len(r.Pids))
  
  	buf := new(bytes.Buffer)
  
  	_ = binary.Write(buf, binary.LittleEndian, &r.Body)
  
  	for _, pid := range r.Pids {
  		_ = binary.Write(buf, binary.LittleEndian, &pid)
  	}
  
  	return buf.Bytes(), nil
  }
docs: // MarshalBinary implements the encoding.BinaryMarshaler interface