るりまサーチ

最速Rubyリファレンスマニュアル検索!
602件ヒット [1-100件を表示] (0.189秒)

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

JSON::State#buffer_initial_length -> Integer (18501.0)

This integer returns the current initial length of the buffer.

...
T
his integer returns the current initial length of the buffer....

DRb::DRbUnknown#buf -> String (18402.0)

保持しているマーシャリングされたバイト列を返します。

保持しているマーシャリングされたバイト列を返します。

OpenSSL::Buffering#print(*args) -> nil (18301.0)

args を順に出力します。

...args を順に出力します。

args の各要素を to_s で文字列に変換して
出力します。
I
O#print とほぼ同様ですが、引数を省略した場合に $_ を出力する
機能はありません。

@param args 出力するオブジェクト...

OpenSSL::Buffering#printf(format, *args) -> nil (18301.0)

format に従い引数 args を文字列に変換して 出力します。

...format に従い引数 args を文字列に変換して
出力します。

I
O#printf と同様です。

@param format 出力フォーマット文字列
@param arg 出力するオブジェクト
@see Kernel.#printf...

OpenSSL::Buffering#readpartial(maxlen, buf=nil) -> String | nil (15408.0)

通信路から長さ maxlen バイトを上限としてデータを読み込み、 文字列として返します。 即座に得られるデータが存在しないときにはブロックしてデータの到着を待ちます。 即座に得られるデータが 1byte でも存在すればブロックしません。

...着を待ちます。
即座に得られるデータが 1byte でも存在すればブロックしません。

I
O#readpartial と同様です。

@param maxlen 読み込む長さの上限(整数)
@param buf 読み込みバッファ
@raise EOFError 読み込みが既に終端に到達している場...

絞り込み条件を変える

OpenSSL::Buffering#write(str) -> Integer (15401.0)

str を出力します。

...str を出力します。

書き込んだデータの長さを返します。

I
O#write と同様です。

@param str 出力する文字列...

OpenSSL::Buffering#write_nonblock(s) -> Integer (15401.0)

文字列 s をノンブロッキングモードで書き込みます。

...時点で
ブロックする可能性があります。

基本的には IO#write_nonblock と同様です。しかし以下のような
違いもあります。

このメソッドはソケットが読み込み不可能(IO::WaitReadable)
という理由で
例外を発生させる可能性があり...
...@param s 出力する文字列
@raise OpenSSL::SSL::SSLError ソケットが読み込み/書き込み可能状態になるのを
待つ必要がある場合に発生します。
読み込み可能状態を待つ必要がある場合には IO::WaitReadable を、
書き込み...
...可能状態を待つ必要がある場合には IO::WaitWritable を、
それぞれ extend した例外オブジェクトが生成されます。...

Encoding::Converter#primitive_convert(source_buffer, destination_buffer, destination_byteoffset, destination_bytesize, options) -> Symbol (13213.0)

エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。

...oding::Converter#primitive_convert が唯一の方法になります。

@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize...
...ptions 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol

options には以下が指定できます。

: hash form
:partial_input => true # source buffer may be part of larger source
:after_output => true # stop conversion after output...
... input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT

戻り値は以下のうちのどれかです。

* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_full
* :source_buffer_empty
* :fi...

Encoding::Converter#primitive_convert(source_buffer, destination_buffer, destination_byteoffset, destination_bytesize) -> Symbol (13113.0)

エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。

...oding::Converter#primitive_convert が唯一の方法になります。

@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize...
...ptions 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol

options には以下が指定できます。

: hash form
:partial_input => true # source buffer may be part of larger source
:after_output => true # stop conversion after output...
... input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT

戻り値は以下のうちのどれかです。

* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_full
* :source_buffer_empty
* :fi...

Encoding::Converter#primitive_convert(source_buffer, destination_buffer, destination_byteoffset) -> Symbol (12913.0)

エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。

...oding::Converter#primitive_convert が唯一の方法になります。

@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize...
...ptions 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol

options には以下が指定できます。

: hash form
:partial_input => true # source buffer may be part of larger source
:after_output => true # stop conversion after output...
... input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT

戻り値は以下のうちのどれかです。

* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_full
* :source_buffer_empty
* :fi...

絞り込み条件を変える

<< 1 2 3 ... > >>