#407: NSData#bytes does not work
---------------------------------+------------------------------------------
Reporter: neerac...@… | Owner: lsansone...@…
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Resolution: fixed
Keywords: |
---------------------------------+------------------------------------------
Changes (by lsansone...@…):
* status: new => closed
* resolution: => fixed
* milestone: => MacRuby 0.5
Comment:
Should be fixed by r2916:
{{{
$ ./miniruby -e "framework 'Foundation'; ptr =
'hey'.dataUsingEncoding(NSMacOSRomanStringEncoding).bytes; p ptr[0].chr,
ptr[1].chr, ptr[2].chr"
"h"
"e"
"y"
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/407#comment:2>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel