2008/6/11 Han-Wen Nienhuys <[EMAIL PROTECTED]>:
>
> I think that a sequence of Unicode code points this is a somewhat
> limited view of how strings should be used.  Among others, the
> implication is that programs cannot rely on being able to index a
> string in O(1) time (since the string might be UTF-x encoded).
>
> What do I use if I want to have guaranteed O(1) indexing -that is- if
> I want to manipulate strings of bytes?
>
> How would I read the contents of a binary file without jumping through
> encoding hoops?

A uniform byte array?

    Neil


Reply via email to