るりまサーチ

最速Rubyリファレンスマニュアル検索!
1841件ヒット [301-400件を表示] (0.019秒)

別のキーワード

  1. zlib os_code
  2. error code
  3. net/http code
  4. net/imap code
  5. ftp return_code

ライブラリ

モジュール

キーワード

検索結果

<< < ... 2 3 4 5 6 ... > >>

IO#each_codepoint -> Enumerator (6100.0)

IO の各コードポイントに対して繰り返しブロックを呼びだします。

...にはコードポイントを表す整数が渡されます。

ブロックを省略した場合には、Enumerator を返します。

//emlist[例][ruby]{
IO.write("testfile", "abcdeあ")
File.open("testfile") do |f|
f.each_codepoint { |i| p i }
end
# => 97
# 98
# 99
# 100
# 101
# 12354
//}...

IO#each_codepoint {|c| ... } -> self (6100.0)

IO の各コードポイントに対して繰り返しブロックを呼びだします。

...にはコードポイントを表す整数が渡されます。

ブロックを省略した場合には、Enumerator を返します。

//emlist[例][ruby]{
IO.write("testfile", "abcdeあ")
File.open("testfile") do |f|
f.each_codepoint { |i| p i }
end
# => 97
# 98
# 99
# 100
# 101
# 12354
//}...

Net::IMAP.decode_utf7(str) -> String (6100.0)

modified UTF-7 の文字列を UTF-8 の文字列に変換します。

...い。

Net::IMAP ではメールボックス名のエンコードを自動的変換「しない」
ことに注意してください。必要があればユーザが変換すべきです。

@param str 変換対象の modified UTF-7 でエンコードされた文字列
@see Net::IMAP.encode_utf7...

Net::IMAP.encode_utf7(str) -> String (6100.0)

UTF-8 の文字列を modified UTF-7 の文字列に変換します。

...

modified UTF-7 は IMAP のメールボックス名に使われるエンコーディングで、
UTF-7 を修正したものです。

詳しくは Net::IMAP.encode_utf7 を見てください。

@param str 変換対象の UTF-8 でエンコードされた文字列
@see Net::IMAP.decode_utf7...

OpenSSL::ASN1.#decode(der) -> OpenSSL::ASN1::ASN1Data (6100.0)

DER 表現の文字列を解析し、そこにエンコードされている ASN.1 の値を OpenSSL::ASN1::ASN1Data のサブクラスのインスタンスとして返します。

...例:

ruby -e '
require "openssl"
require "pp"
pem = File.read(ARGV[0])
cert = OpenSSL::X509::Certificate.new(pem)
pp OpenSSL::ASN1.decode(cert.to_der)
' mycert.pem
#<OpenSSL::ASN1::Sequence:0x814e9fc
@tag=16,
@tag_class=:UNIVERSAL,
@tagging=nil,
@value=
[#<OpenSSL:...

絞り込み条件を変える

OpenSSL::ASN1.#decode_all(der) -> [OpenSSL::ASN1::ASN1Data] (6100.0)

DER 表現の文字列を解析し、そこにエンコードされている ASN.1 の値を全て OpenSSL::ASN1::ASN1Data のサブクラスのインスタンスの配列として 返します。

...そこにエンコードされている ASN.1 の値を全て
OpenSSL::ASN1::ASN1Data のサブクラスのインスタンスの配列として
返します。

@param der DER形式の文字列
@raise OpenSSL::ASN1::ASN1Error 解析に失敗した場合に発生します
@see OpenSSL::ASN1.#decode...

OpenSSL::X509::V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY -> Integer (6100.0)

証明書の SubjectPublicKeyInfo フィールドが読めなかった ことを意味します。

証明書の SubjectPublicKeyInfo フィールドが読めなかった
ことを意味します。

RSS::ContentModel#content_encoded (6100.0)

@todo

@todo

RSS::ContentModel#content_encoded= (6100.0)

@todo

@todo
<< < ... 2 3 4 5 6 ... > >>