602件ヒット
[1-100件を表示]
(0.189秒)
ライブラリ
クラス
-
ARGF
. class (22) - Array (8)
-
DRb
:: DRbUnknown (11) -
Encoding
:: Converter (44) - IO (73)
-
JSON
:: State (11) -
Net
:: Telnet (4) -
OpenSSL
:: SSL :: SSLSocket (11) - String (187)
- StringIO (44)
-
Zlib
:: GzipReader (11)
モジュール
- MonitorMixin (11)
-
OpenSSL
:: Buffering (165)
キーワード
- []= (77)
-
buffer
_ initial _ length (11) - chomp! (11)
- count (11)
-
each
_ byte (11) - getc (11)
- gets (11)
- gsub! (44)
-
mon
_ enter (11) - pack (8)
- pathconf (11)
- pread (7)
-
primitive
_ convert (44) - print (11)
- printf (11)
- puts (11)
- read (33)
-
read
_ nonblock (44) - readchar (11)
- readline (11)
- readlines (11)
- readpartial (55)
- sub! (33)
- sysread (33)
- sysseek (11)
- ungetc (11)
- upcase! (11)
- waitfor (4)
- write (11)
-
write
_ nonblock (11)
検索結果
先頭5件
-
JSON
:: State # buffer _ initial _ length -> Integer (18501.0) -
This integer returns the current initial length of the buffer.
...
This 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 で文字列に変換して
出力します。
IO#print とほぼ同様ですが、引数を省略した場合に $_ を出力する
機能はありません。
@param args 出力するオブジェクト... -
OpenSSL
:: Buffering # printf(format , *args) -> nil (18301.0) -
format に従い引数 args を文字列に変換して 出力します。
...format に従い引数 args を文字列に変換して
出力します。
IO#printf と同様です。
@param format 出力フォーマット文字列
@param arg 出力するオブジェクト
@see Kernel.#printf... -
OpenSSL
:: Buffering # readpartial(maxlen , buf=nil) -> String | nil (15408.0) -
通信路から長さ maxlen バイトを上限としてデータを読み込み、 文字列として返します。 即座に得られるデータが存在しないときにはブロックしてデータの到着を待ちます。 即座に得られるデータが 1byte でも存在すればブロックしません。
...着を待ちます。
即座に得られるデータが 1byte でも存在すればブロックしません。
IO#readpartial と同様です。
@param maxlen 読み込む長さの上限(整数)
@param buf 読み込みバッファ
@raise EOFError 読み込みが既に終端に到達している場... -
OpenSSL
:: Buffering # write(str) -> Integer (15401.0) -
str を出力します。
...str を出力します。
書き込んだデータの長さを返します。
IO#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...