Michael Pliskin a écrit :
> Hello list,
>
> Looks like I am still not that good in understanding
strings in
> Neko.. A question came to my mind and I could not
find a good reply
> myself: what is the character string in Neko? I know
that strings
> are binary buffers, but what can I put as a single
element? A byte?
> 16-bit word? 31-bit integer? I was thinking that
16-bit word is a
> best candidate as we can keep 'raw Unicode' strings
in Neko (not
> UTF8-encoded). So - Nicolas, please clarify, I'm lost
again
>
> I'm porting some HMAC-SHA1 code to haxe/neko now,
will probably make
> it open source, that's why asking.
Strings are byte buffers in Neko, so yes a neko string
"char" is a byte.
Best,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)
|