ライブラリ
クラス
- CSV (11)
- Encoding (44)
-
Net
:: FTP (143) -
OpenSSL
:: PKCS7 (33) -
RubyVM
:: InstructionSequence (27) -
Zlib
:: ZStream (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
ASCII
_ 8BIT (11) - BINARY (66)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 7 . 0 (5) - NKF (11)
- Ruby用語集 (11)
-
VARIANT
_ BINARY (11) - aliases (11)
-
data
_ type (11) - encrypt (11)
- get (22)
- getbinaryfile (22)
- guess (11)
-
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) - log2 (17)
- log2! (6)
-
name
_ list (11) -
net
/ ftp (11) - new (11)
- open (22)
- put (22)
- putbinaryfile (22)
- retrbinary (22)
- sign (11)
- storbinary (22)
-
to
_ binary (9) - 多言語化 (11)
検索結果
先頭5件
-
Net
:: FTP # binary -> bool (18207.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 (6348.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 (6332.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 (6253.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(......\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\x00\x00\x01
# \x00\x00\x00\x00\x00\x00\x00\\\x00\x00\x00\x00\x00\x00\x00\x0F\x00\x00\x00
# \x00\x00\x00\x00\x02\x00... -
File
:: Constants :: BINARY -> Integer (6217.0) -
ファイルをバイナリとして開きます。 open(2) で O_BINARYが指定できる場合に使えます。 File.openで使用します。
...ファイルをバイナリとして開きます。
open(2) で O_BINARYが指定できる場合に使えます。
File.openで使用します。... -
JSON
:: VARIANT _ BINARY -> bool (6201.0) -
拡張ライブラリ版を使用している場合に真を返します。 そうでない場合は偽を返します。
拡張ライブラリ版を使用している場合に真を返します。
そうでない場合は偽を返します。 -
Kconv
:: BINARY -> Encoding (6201.0) -
JIS EUC SJIS 以外を表します。 この値はKconv.#guessの返り値としてのみ用いられます。
JIS EUC SJIS 以外を表します。
この値はKconv.#guessの返り値としてのみ用いられます。 -
NKF
:: BINARY -> Encoding (6201.0) -
バイナリ列を表します。
バイナリ列を表します。 -
OpenSSL
:: PKCS7 :: BINARY -> Integer (6201.0) -
MIME canonical format への変換を行いません。
MIME canonical format への変換を行いません。
OpenSSL::PKCS7.sign、OpenSSL::PKCS7.encrypt
で利用可能なフラグです。 -
Zlib
:: BINARY -> Integer (6201.0) -
Zlib::ZStream#data_type の返す、データタイプを表す整数です。
Zlib::ZStream#data_type の返す、データタイプを表す整数です。