Revision of SRFI 66 available Michael Sperber (18 Apr 2005 16:07 UTC)
If you like "u8vector" ... Michael Sperber (15 May 2005 13:15 UTC)
[srfi-66] List of bytes to byte-vector Jens Axel Søgaard (15 May 2005 18:14 UTC)
Re: If you like "u8vector" ... Thomas Bushnell BSG (15 May 2005 20:03 UTC)
Re: If you like "u8vector" ... Per Bothner (17 May 2005 04:19 UTC)
Re: If you like "u8vector" ... Michael Sperber (17 May 2005 19:35 UTC)
Re: If you like "u8vector" ... Per Bothner (17 May 2005 20:09 UTC)
Re: If you like "u8vector" ... Marc Feeley (17 May 2005 12:11 UTC)

Re: If you like "u8vector" ... Michael Sperber 17 May 2005 19:34 UTC

First of all, thanks for the naming suggestions!

Per Bothner <xxxxxx@bothner.com> writes:

> One factor is that if you have binary I/O you might want to read other
> kinds of binary numbers and just byte arrays:  A picture might be an
> array of 32-bit integers, for example.  The "java.nio" package
> introduced in JDK 1.4 does support reading/writing uniform arrays that
> are not bytes, so this is not a complete fanciful idea. [...]

Yes, that makes sense.  However, aren't you really arguing for
Taylor's idea of having a single type for "blobs" and then having
access methods for various sequences of bits inside them?  (I have to
admit that I'm warming increasingly to this idea.)  Otherwise, the
concept is going to bloat every API that deals with similar objects
beyond recognition.  This way, most of the bloat would be right with
the "blob API" and stay there.  What do you think?

--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla