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)

[srfi-66] List of bytes to byte-vector Jens Axel Søgaard 15 May 2005 18:14 UTC

I miss the following operation:

   bytes->byte-vector : (list byte) -> byte-vector
     Return a newly allocated byte-vector whose elements
     are the same as the elements of the list

The function bytes->byte-vector could be defined as

   (define (bytes->byte-vector bytes)
      (apply byte-vector bytes))

but since apply copies the elements of bytes, this would
be inefficient.

--
Jens Axel Søgaard