original_string: protected function sendLongData(mysqli_stmt $statement, int $paramNr, ?string $data): void
    {
      if ($data!==null)
      {
        $n = strlen($data);
        $p = 0;
        while ($p<$n)
        {
          $b = $statement->send_long_data($paramNr, substr($data, $p, $this->chunkSize));
          if (!$b) $this->mySqlError('mysqli_stmt::send_long_data');
          $p += $this->chunkSize;
        }
      }
    }
code: protected function sendLongData(mysqli_stmt $statement, int $paramNr, ?string $data): void
    {
      if ($data!==null)
      {
        $n = strlen($data);
        $p = 0;
        while ($p<$n)
        {
          $b = $statement->send_long_data($paramNr, substr($data, $p, $this->chunkSize));
          if (!$b) $this->mySqlError('mysqli_stmt::send_long_data');
          $p += $this->chunkSize;
        }
      }
    }
code_tokens: protected function sendLongData ( mysqli_stmt $ statement , int $ paramNr , ? string $ data ) : void { if ( $ data !== null ) { $ n = strlen ( $ data ) ; $ p = 0 ; while ( $ p < $ n ) { $ b = $ statement -> send_long_data ( $ paramNr , substr ( $ data , $ p , $ this -> chunkSize ) ) ; if ( ! $ b ) $ this -> mySqlError ( 'mysqli_stmt::send_long_data' ) ; $ p += $ this -> chunkSize ; } } }
docstring: Send data in blocks to the MySQL server.
  
  Wrapper around [mysqli_stmt::send_long_data](http://php.net/manual/mysqli-stmt.send-long-data.php).
  
  @param mysqli_stmt $statement The prepared statement.
  @param int         $paramNr   The 0-indexed parameter number.
  @param string|null $data      The data.
docstring_tokens: Send data in blocks to the MySQL server .