るりまサーチ

最速Rubyリファレンスマニュアル検索!
670件ヒット [1-100件を表示] (0.041秒)
トップページ > クエリ:b[x] > クエリ:binary[x]

別のキーワード

  1. string b
  2. _builtin b
  3. b _builtin
  4. b string
  5. b

検索結果

<< 1 2 3 ... > >>

Net::FTP#binary -> bool (24207.0)

Net::FTP#put, Net::FTP#get による転送を バイナリモード(IMAGE)で行うかどうかを返します。

...る転送を
バイナリモード(IMAGE)で行うかどうかを返します。

デフォルトの値は true です。

偽の場合、テキストモード(ASCII)が仮定されます。

EBCDIC や LOCAL など他の表現タイプはサポートされていません。

@see Net::FTP#binary=...

RubyVM::InstructionSequence.load_from_binary(binary) -> RubyVM::InstructionSequence (12448.0)

RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。

...RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。

このローダーは検証機構をもっておらず、壊れたり改変されたバイナリを読み込むと深刻な問題を引き起...
...りません。自分が変換したバイナリデータを使うべきです。

//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary
= iseq.to_binary
RubyVM::InstructionSequence.load_from_binary(binary).eval # => 3
//}

@see RubyVM::InstructionSequence#to_binary...

RubyVM::InstructionSequence.load_from_binary_extra_data(binary) -> String (12432.0)

バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。

...埋め込まれたextra_dataを取り出します。

//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary
= iseq.to_binary("extra_data")
RubyVM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}

@see RubyVM::InstructionSequence#to_binary...

RubyVM::InstructionSequence#to_binary(extra_data = nil) -> String (12253.0)

バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。 RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。

...て返します。
RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。

引数の extra_data はバイナリデータと共に保存されます。
RubyVM::InstructionSequence.load_from_binary_extra_data メソッ...
..._binary で得たバイナリデータは他のマシンに移動できません。他のバージョンや他のアーキテクチャのRubyで作られたバイナリデータは使用できません。

//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.to_binary(...
..."extra_data")

# ※表示の都合上改行しているが実際は改行はない
# => "YARB\x02\x00\x00\x00\x03\x00\x00\x00\x16\x02\x00\x00\n\x00\x00\x00\x01
# \x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00\x84\x01\x00\x00\x88\x01\x00
# \x00\x02\x02\x00\x00x86_64-darwin15\x00*\x00\x00\x00\x00\x00\x...

File::Constants::BINARY -> Integer (12217.0)

ファイルをバイナリとして開きます。 open(2) で O_BINARYが指定できる場合に使えます。 File.openで使用します。

...ファイルをバイナリとして開きます。
open(2) で O_BINARYが指定できる場合に使えます。
File.openで使用します。...

絞り込み条件を変える

Net::FTP#binary=(bool) (12207.0)

Net::FTP#put, Net::FTP#get による転送を バイナリモード(IMAGE)で転送するかどうかを指定します。

...します。

デフォルトの値は true です。

偽の場合、テキストモード(ASCII)が仮定されます。

EBCDIC や LOCAL など他の表現タイプはサポートされていません。

@param bool 真ならばバイナリモードを on にします。
@see Net::FTP#binary...

JSON::VARIANT_BINARY -> bool (12201.0)

拡張ライブラリ版を使用している場合に真を返します。 そうでない場合は偽を返します。

拡張ライブラリ版を使用している場合に真を返します。
そうでない場合は偽を返します。

Kconv::BINARY -> Encoding (12201.0)

JIS EUC SJIS 以外を表します。 この値はKconv.#guessの返り値としてのみ用いられます。

JIS EUC SJIS 以外を表します。
この値はKconv.#guessの返り値としてのみ用いられます。

NKF::BINARY -> Encoding (12201.0)

バイナリ列を表します。

バイナリ列を表します。
<< 1 2 3 ... > >>