public function mergePartialFromString($s) {
    // Merges in data from the string 's'.
    // Does not enforce required fields are set.
    $d = new Decoder($s, 0, strlen($s));
    $this->tryMerge($d);
  }