るりまサーチ

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

別のキーワード

  1. nkf binary
  2. kconv binary
  3. zlib binary
  4. _builtin binary
  5. json variant_binary

ライブラリ

モジュール

検索結果

<< 1 2 3 ... > >>

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

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

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

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

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

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

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

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

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

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

Kconv::BINARY -> Encoding (24202.0)

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

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

NKF::BINARY -> Encoding (24202.0)

バイナリ列を表します。

バイナリ列を表します。

OpenSSL::PKCS7::BINARY -> Integer (24202.0)

MIME canonical format への変換を行いません。

MIME canonical format への変換を行いません。

OpenSSL::PKCS7.sign、OpenSSL::PKCS7.encrypt
で利用可能なフラグです。

絞り込み条件を変える

Zlib::BINARY -> Integer (24202.0)

Zlib::ZStream#data_type の返す、データタイプを表す整数です。

Zlib::ZStream#data_type の返す、データタイプを表す整数です。

Encoding::BINARY -> Encoding (18202.0)

ASCII-8BIT、ASCII互換オクテット列用のエンコーディングです。

ASCII-8BIT、ASCII互換オクテット列用のエンコーディングです。

もっぱら文字エンコーディングを持たないデータ、文字を符号化したのではない単なるバイトの列を表現するために用いますが、このエンコーディングは ASCII 互換であることがポイントです。

RubyVM::InstructionSequence.load_from_binary(binary) -> RubyVM::InstructionSequence (12496.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 (12464.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 (12294.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(...
...0\x00numE\x7F\x00\x00\x02\x00\x00\x00\x00
# \x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00+\xA0\x01\x00\x00\xAC\x01\x00
# \x00\xCA\x01\x00\x00\xD6\x01\x00\x00\xED\x01\x00\x00extra_data"
//}

@see RubyVM::InstructionSequence.load_from_binary
@see RubyVM::InstructionSequence.load_from_binary_extra_data...

絞り込み条件を変える

<< 1 2 3 ... > >>