[MacRuby-devel] [MacRuby] #407: NSData#bytes does not work
MacRuby
ruby-noreply at macosforge.org
Wed Oct 28 21:02:44 PDT 2009
#407: NSData#bytes does not work
---------------------------------+------------------------------------------
Reporter: neeracher@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Resolution: fixed
Keywords: |
---------------------------------+------------------------------------------
Changes (by lsansonetti@…):
* 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/>
More information about the MacRuby-devel
mailing list