種類
- インスタンスメソッド (163)
- 特異メソッド (62)
- モジュール関数 (56)
- 定数 (44)
- モジュール (11)
クラス
- Encoding (22)
-
Net
:: FTP (143) -
OpenSSL
:: PKCS7 (33) -
RubyVM
:: InstructionSequence (27) -
Zlib
:: ZStream (11)
キーワード
- NKF (11)
-
VARIANT
_ BINARY (11) - aliases (11)
- binary (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) - open (22)
- put (22)
- putbinaryfile (22)
- retrbinary (22)
- sign (11)
- storbinary (22)
-
to
_ binary (9)
検索結果
先頭5件
- File
:: Constants :: BINARY -> Integer - OpenSSL
:: PKCS7 :: BINARY -> Integer - Zlib
:: BINARY -> Integer - Net
:: FTP # getbinaryfile(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil - Net
:: FTP # getbinaryfile(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) {|data| . . . } -> nil
-
File
:: Constants :: BINARY -> Integer (21217.0) -
ファイルをバイナリとして開きます。 open(2) で O_BINARYが指定できる場合に使えます。 File.openで使用します。
...ファイルをバイナリとして開きます。
open(2) で O_BINARYが指定できる場合に使えます。
File.openで使用します。... -
OpenSSL
:: PKCS7 :: BINARY -> Integer (21201.0) -
MIME canonical format への変換を行いません。
...MIME canonical format への変換を行いません。
OpenSSL::PKCS7.sign、OpenSSL::PKCS7.encrypt
で利用可能なフラグです。... -
Zlib
:: BINARY -> Integer (21201.0) -
Zlib::ZStream#data_type の返す、データタイプを表す整数です。
...Zlib::ZStream#data_type の返す、データタイプを表す整数です。... -
Net
:: FTP # getbinaryfile(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil (12700.0) -
サーバ上のファイルをバイナリモードで取得します。
...す。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
データの転送は blocksize バイト毎に行なわれます......を blocksize バイト受信するごとに、そのデータを
ブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@param blocksize......yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コードが上の場合以外で正しくない場合(1xy, 3xyが来るべきでないときに来た場合など)に発生します。... -
Net
:: FTP # getbinaryfile(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) {|data| . . . } -> nil (12700.0) -
サーバ上のファイルをバイナリモードで取得します。
...す。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
データの転送は blocksize バイト毎に行なわれます......を blocksize バイト受信するごとに、そのデータを
ブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@param blocksize......yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コードが上の場合以外で正しくない場合(1xy, 3xyが来るべきでないときに来た場合など)に発生します。... -
Net
:: FTP # putbinaryfile(localfile , remotefile = File . basename(localfile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil (12700.0) -
サーバにファイルをバイナリモードで転送します。
...ローカルの localfile という名前のファイルを読みだし、
サーバー上の remotefile という名前のファイルに保存します。
データの転送は blocksize バイト毎に行なわれます。
ブロックが指定された場合は
データを blocksize バイ......、そのデータを
ブロックに渡します。
@param localfile 転送するローカルのファイル名を与えます。
@param remotefile 転送データを保存するリモートのファイル名を与えます。
@param blocksize データ転送の単位をバイト単位で与えま......yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コードが上の場合以外で正しくない場合(1xy, 3xyが来るべきでないときに来た場合など)に発生します。... -
Net
:: FTP # putbinaryfile(localfile , remotefile = File . basename(localfile) , blocksize = DEFAULT _ BLOCKSIZE) {|data| . . . } -> nil (12700.0) -
サーバにファイルをバイナリモードで転送します。
...ローカルの localfile という名前のファイルを読みだし、
サーバー上の remotefile という名前のファイルに保存します。
データの転送は blocksize バイト毎に行なわれます。
ブロックが指定された場合は
データを blocksize バイ......、そのデータを
ブロックに渡します。
@param localfile 転送するローカルのファイル名を与えます。
@param remotefile 転送データを保存するリモートのファイル名を与えます。
@param blocksize データ転送の単位をバイト単位で与えま......yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コードが上の場合以外で正しくない場合(1xy, 3xyが来るべきでないときに来た場合など)に発生します。... -
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 (6347.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...