[r6rs-discuss] vectors of unsigned octets

From: Michael Sperber <sperber>
Date: Fri, 22 Jun 2007 10:46:08 +0200

r6rsguy at free-comp-shop.com writes:

> Vectors of unsigned octets are written #:vu8(<u8>*), and
> are manipulated by the procedures:
> (vu8? obj)
> (make-vu8 k fill)
> (vu8-length vu8)
> (vu8=? vu8-1 vu8-2)
> (vu8-u8-ref vu8 k)
> (vu8-s8-ref vu8 k)
> (vu8-uint-ref vu8 k size endianness)
> (vu8-sint-ref vu8 k size endianness)
> ... etc ...

But bytevectors *aren't* vectors of unsigned octets. However, the
external representation starting with #vu8 uses unsigned octets. Those
are two different things.

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Fri Jun 22 2007 - 04:46:08 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC