mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3bfa955a8c
commit
6066cfadab
1 changed files with 5 additions and 5 deletions
10
transcode.c
10
transcode.c
|
@ -3379,17 +3379,17 @@ econv_result_to_symbol(rb_econv_result_t res)
|
|||
*
|
||||
* example:
|
||||
* ec = Encoding::Converter.new("UTF-8", "UTF-16BE")
|
||||
* ret = ec.primitive_convert(src="pi", dst="", 100)
|
||||
* ret = ec.primitive_convert(src="pi", dst="", nil, 100)
|
||||
* p [ret, src, dst] #=> [:finished, "", "\x00p\x00i"]
|
||||
*
|
||||
* ec = Encoding::Converter.new("UTF-8", "UTF-16BE")
|
||||
* ret = ec.primitive_convert(src="pi", dst="", 1)
|
||||
* ret = ec.primitive_convert(src="pi", dst="", nil, 1)
|
||||
* p [ret, src, dst] #=> [:destination_buffer_full, "i", "\x00"]
|
||||
* ret = ec.primitive_convert(src, dst="", 1)
|
||||
* ret = ec.primitive_convert(src, dst="", nil, 1)
|
||||
* p [ret, src, dst] #=> [:destination_buffer_full, "", "p"]
|
||||
* ret = ec.primitive_convert(src, dst="", 1)
|
||||
* ret = ec.primitive_convert(src, dst="", nil, 1)
|
||||
* p [ret, src, dst] #=> [:destination_buffer_full, "", "\x00"]
|
||||
* ret = ec.primitive_convert(src, dst="", 1)
|
||||
* ret = ec.primitive_convert(src, dst="", nil, 1)
|
||||
* p [ret, src, dst] #=> [:finished, "", "i"]
|
||||
*
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue