Method: String#each_byte
- Defined in:
- string.c
#each_byte {|byte| ... } ⇒ self #each_byte ⇒ Object
:include: doc/string/each_byte.rdoc
9663 9664 9665 9666 9667 9668 |
# File 'string.c', line 9663
static VALUE
rb_str_each_byte(VALUE str)
{
RETURN_SIZED_ENUMERATOR(str, 0, 0, rb_str_each_byte_size);
return rb_str_enumerate_bytes(str, 0);
}
|