original_string: private function getValueFromField()
      {
          $position = $this->readUntil($this->boundary);
  
          # there is always a newline after the value and before the boundary
          # exclude that newline from the value
          $value = substr($this->buffer, 0, $position - 2);
  
          # update the buffer to exclude the value and the pre boundary newline
          $this->buffer = substr($this->buffer, $position);
  
          return $value;
      }
code: private function getValueFromField()
      {
          $position = $this->readUntil($this->boundary);
  
          # there is always a newline after the value and before the boundary
          # exclude that newline from the value
          $value = substr($this->buffer, 0, $position - 2);
  
          # update the buffer to exclude the value and the pre boundary newline
          $this->buffer = substr($this->buffer, $position);
  
          return $value;
      }
code_tokens: private function getValueFromField ( ) { $ position = $ this -> readUntil ( $ this -> boundary ) ; # there is always a newline after the value and before the boundary # exclude that newline from the value $ value = substr ( $ this -> buffer , 0 , $ position - 2 ) ; # update the buffer to exclude the value and the pre boundary newline $ this -> buffer = substr ( $ this -> buffer , $ position ) ; return $ value ; }
docstring: Get the value of the current field in the input stream
  
  @return string
docstring_tokens: Get the value of the current field in the input stream