549件ヒット
[501-549件を表示]
(0.069秒)
ライブラリ
- ビルトイン (377)
-
net
/ http (36) -
net
/ pop (36) - openssl (12)
-
rexml
/ document (12) -
rubygems
/ package / tar _ reader / entry (12) - stringio (28)
- strscan (24)
- win32ole (12)
クラス
-
ARGF
. class (14) -
Encoding
:: Converter (60) -
Encoding
:: InvalidByteSequenceError (84) -
Gem
:: Package :: TarReader :: Entry (12) - IO (14)
-
Net
:: POP3 (36) -
OpenSSL
:: BN (12) -
REXML
:: Child (12) - Random (12)
- String (193)
- StringIO (28)
- StringScanner (24)
-
WIN32OLE
_ VARIANT (12)
モジュール
-
Net
:: HTTPHeader (36)
キーワード
- byterindex (3)
-
bytes
_ read (12) - bytesize (12)
- byteslice (36)
- bytesplice (10)
-
content
_ range (12) -
destination
_ encoding (12) -
destination
_ encoding _ name (12) -
each
_ byte (38) -
error
_ bytes (12) - getbyte (12)
-
incomplete
_ input? (12) -
n
_ bytes (12) -
n
_ mails (12) -
num
_ bytes (12) - peek (12)
- peep (12)
-
primitive
_ convert (24) -
primitive
_ errinfo (12) - putback (24)
- range (12)
-
range
_ length (12) -
readagain
_ bytes (12) - scrub (36)
- scrub! (36)
-
set
_ debug _ output (12) -
source
_ encoding (12) -
source
_ encoding _ name (12) - vartype (12)
検索結果
先頭5件
-
Net
:: POP3 # n _ mails -> Integer (7.0) -
サーバにあるメールの数を返します。
...サーバにあるメールの数を返します。
@see Net::POP3#n_bytes
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::POPError サーバがエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロト... -
Net
:: POP3 # set _ debug _ output(f) -> () (7.0) -
デバッグ用の出力 f をセットします。
...re 'net/pop'
pop = Net::POP3.new('pop.example.com', 110)
pop.set_debug_output $stderr
pop.start('YourAccount', 'YourPassword') {
p pop.n_bytes
}
実行結果:
POP session started: pop.example.com:110 (POP)
-> "+OK popd <1162042773.26346.155555a1861c@pop.example.com>\r\n"
<- "APO... -
String
# each _ byte -> Enumerator (7.0) -
文字列の各バイトに対して繰り返します。
...文字列の各バイトに対して繰り返します。
//emlist[例][ruby]{
"str".each_byte do |byte|
p byte
end
# => 115
# => 116
# => 114
"あ".each_byte do |byte|
p byte
end
# => 227
# => 129
# => 130
//}
@see String#bytes... -
String
# each _ byte {|byte| . . . } -> self (7.0) -
文字列の各バイトに対して繰り返します。
...文字列の各バイトに対して繰り返します。
//emlist[例][ruby]{
"str".each_byte do |byte|
p byte
end
# => 115
# => 116
# => 114
"あ".each_byte do |byte|
p byte
end
# => 227
# => 129
# => 130
//}
@see String#bytes... -
String
# getbyte(index) -> Integer | nil (7.0) -
index バイト目のバイトを整数で返します。
...す。
範囲外を指定した場合は nil を返します。
@param index バイトを取り出す位置
//emlist[例][ruby]{
s = "tester"
s.bytes # => [116, 101, 115, 116, 101, 114]
s.getbyte(0) # => 116
s.getbyte(1) # => 101
s.getbyte(-1) # => 114
s.getbyte(6)...