[DOC] Tweaks for String#b
This commit is contained in:
parent
1f09c9fa14
commit
a188249616
Notes:
git
2025-05-16 16:47:31 +00:00
@ -12,3 +12,5 @@ the underlying bytes are not modified:
|
||||
t = s.b # => "\xE4\x82\x95"
|
||||
t.encoding # => #<Encoding:ASCII-8BIT>
|
||||
t.bytes # => [228, 130, 149]
|
||||
|
||||
Related: see {Converting to New String}[rdoc-ref:String@Converting+to+New+String].
|
||||
|
Loading…
x
Reference in New Issue
Block a user