mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
[DOC] Tweaks for String#bytes
This commit is contained in:
parent
b284987651
commit
c351c3d065
@ -4,3 +4,5 @@ Returns an array of the bytes in +self+:
|
||||
'тест'.bytes # => [209, 130, 208, 181, 209, 129, 209, 130]
|
||||
'こんにちは'.bytes
|
||||
# => [227, 129, 147, 227, 130, 147, 227, 129, 171, 227, 129, 161, 227, 129, 175]
|
||||
|
||||
Related: see {Converting to Non-String}[rdoc-ref:String@Converting+to+Non--5CString].
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user