別のキーワード
ライブラリ
- ビルトイン (90)
- json (12)
- kconv (12)
-
net
/ ftp (168) - nkf (24)
- openssl (12)
- securerandom (12)
-
win32
/ registry (240) - zlib (24)
クラス
- Encoding (24)
-
Net
:: FTP (168) -
OpenSSL
:: PKCS7 (12) -
RubyVM
:: InstructionSequence (30) -
Win32
:: Registry (72) -
Zlib
:: ZStream (12)
モジュール
-
File
:: Constants (12) - JSON (12)
- Kconv (12)
- Kernel (24)
- NKF (12)
-
Win32
:: Registry :: Constants (168) - Zlib (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
ASCII
_ 8BIT (12) - BINARY (72)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 7 . 0 (6) - NKF (12)
-
REG
_ BINARY (12) -
REG
_ DWORD (12) -
REG
_ DWORD _ BIG _ ENDIAN (12) -
REG
_ DWORD _ LITTLE _ ENDIAN (12) -
REG
_ EXPAND _ SZ (12) -
REG
_ FULL _ RESOURCE _ DESCRIPTOR (12) -
REG
_ LINK (12) -
REG
_ MULTI _ SZ (12) -
REG
_ NONE (12) -
REG
_ QWORD (12) -
REG
_ QWORD _ LITTLE _ ENDIAN (12) -
REG
_ RESOURCE _ LIST (12) -
REG
_ RESOURCE _ REQUIREMENTS _ LIST (12) -
REG
_ SZ (12) - Ruby用語集 (12)
- SecureRandom (12)
-
VARIANT
_ BINARY (12) - binary= (12)
-
data
_ type (12) - get (24)
- getbinaryfile (24)
-
load
_ from _ binary (10) -
load
_ from _ binary _ extra _ data (10) - open (24)
- put (24)
- putbinaryfile (24)
-
rb
_ io _ mode _ flags2 (12) -
read
_ bin (12) -
read
_ i (12) -
read
_ s (12) - retrbinary (24)
- storbinary (24)
-
to
_ binary (10) -
write
_ bin (12) -
write
_ i (12) -
write
_ s (12) - 多言語化 (12)
検索結果
先頭5件
-
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) -
バイナリ列を表します。
バイナリ列を表します。