るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

検索結果

<< 1 2 3 ... > >>

static int rb_io_mode_flags2(int mode) (26106.0)

open(2) のようなモード指定modeをruby内部のモードフラグに変換します。

...定modeをruby内部のモードフラグに変換します。

modeは、O_RDONLY, O_WRONLY, O_RDWRのいずれかで
対応する以下の値のいずれかを返します。

* FMODE_READABLE,
* FMODE_WRITABLE,
* FMODE_READWRITE

FMODE_READWRITEは、FMODE_READABLEと
FMODE_WRITEABLEの論...
...理和です。

Microsoft Windows などファイルにバイナリ/テキスト属性の区別がある
プラットフォームでは、modeにO_BINARYの論理和が指定されてい
れば、戻り値にはFMODE_BINMODEの論理和が指定されます。...

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

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

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

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

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

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

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

Win32::Registry::Constants::REG_RESOURCE_REQUIREMENTS_LIST (21401.0)

@todo

@todo

レジストリ値の型。

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

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

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

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

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

@see RubyVM::InstructionSequence#to_binary...

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

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

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

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

@see RubyVM::InstructionSequence#to_binary...

絞り込み条件を変える

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

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

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

引数の extra_data はバイナリデータと共に保存されます。
R
ubyVM::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...

Win32::Registry::Constants::REG_BINARY (15201.0)

@todo

@todo

レジストリ値の型。

Win32::Registry::Constants::REG_FULL_RESOURCE_DESCRIPTOR (15201.0)

@todo

@todo

レジストリ値の型。

Win32::Registry::Constants::REG_RESOURCE_LIST (15201.0)

@todo

@todo

レジストリ値の型。
<< 1 2 3 ... > >>