original_string: public static function rawToHex($raw, $length = 0)
      {
          $gmp = gmp_import($raw);
          $hex = gmp_strval($gmp, 16);
  
          return self::pad($hex, $length);
      }
code: public static function rawToHex($raw, $length = 0)
      {
          $gmp = gmp_import($raw);
          $hex = gmp_strval($gmp, 16);
  
          return self::pad($hex, $length);
      }
code_tokens: public static function rawToHex ( $ raw , $ length = 0 ) { $ gmp = gmp_import ( $ raw ) ; $ hex = gmp_strval ( $ gmp , 16 ) ; return self :: pad ( $ hex , $ length ) ; }
docstring: Converts stream of bytes into hexadecimal string.
  
  @param mixed $raw    Stream of bytes.
  @param int   $length Minimum output length.
  
  @return string Hex string.
docstring_tokens: Converts stream of bytes into hexadecimal string .