String hierarchy (was: UTC-8 (was ...))

Dean_Swan at Mitel.COM Dean_Swan at Mitel.COM
Mon Mar 20 20:02:53 UTC 2000



From:  Dean Swan at MITEL on 03/20/2000 03:02 PM

>I wrote:
>    > The thing we _do_ need is to have '16-bit byte' arrays
>    > supported just like '8-bit byte arrays',
>
>Someone replied
>
>    Isn't that a raw implementation detail?
>
>Yes and no.  If one uses halves of 32-bit bytes or pairs of 8-bit bytes
>then basicSize will be wrong, which would at least be odd.

     FWIW, Squeak does have '16-bit byte' arrays.  Look at the 'SoundBuffer'
class, which is a subclass of 'ArrayedCollection'.


                                   -Dean Swan
                                   dean_swan at mitel.com








More information about the Squeak-dev mailing list