code: func (r *ListProcessesRequest) UnmarshalBinary(data []byte) error {
  	buf := bytes.NewBuffer(data)
  
  	err := binary.Read(buf, binary.LittleEndian, &r.Body)
  	if err != nil {
  		return err
  	}
  
  	r.Pids = make([]int64, r.Body.NumPids)
  
  	for i := uint32(0); i < r.Body.NumPids; i++ {
  		err := binary.Read(buf, binary.LittleEndian, &r.Pids[i])
  		if err != nil {
  			return err
  		}
  	}
  
  	return nil
  }
docs: // UnmarshalBinary implements the encoding.BinaryUnmarshaler interface