308件ヒット
[301-308件を表示]
(0.060秒)
ライブラリ
- ビルトイン (224)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - socket (12)
- zlib (36)
クラス
- BasicSocket (12)
-
Encoding
:: Converter (48) -
Enumerator
:: ArithmeticSequence (7) - IO (12)
- Integer (23)
- MatchData (50)
- Random (36)
- Regexp (12)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - SignalException (12)
- SystemCallError (12)
- SystemExit (12)
-
Zlib
:: GzipReader (36)
検索結果
-
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol (13.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...ut => true # source buffer may be part of larger source
:after_output => true # stop conversion after output before input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT
戻り値は以下のうちのどれかです。
* :invalid_byt......source_buffer_empty
* :finished
//emlist[][ruby]{
ec = Encoding::Converter.new("UTF-8", "EUC-JP")
src = "abc\x81あいう\u{20bb7}\xe3"
dst = ''
begin
ret = ec.primitive_convert(src, dst)
p [ret, src, dst, ec.primitive_errinfo]
case ret
when :invalid_byte_sequence
ec.insert_output(ec...