From: Peter Seibel
Subject: What does a value of 'unsigned-byte or 'signed-byte mean in the :element-type of OPEN?
Date:
Message-ID: <m3u17tlbve.fsf@javamonkey.com>
The dictionary entry for OPEN allows:
a type specifier for a finite recognizable subtype of integer; or
one of the symbols signed-byte, unsigned-byte
^^^^^^^
I assume (and some experiments bear out) that using the symbol
unsigned-byte is not to be interpreted as the atomic type specifier
unsigned-byte, (i.e. equivalent to (ingeter 0 *)) which would
presumably treate the whole file as one very big number.
Some experiments with STREAM-ELEMENT-TYPE suggest it is interpreted
(by some/most impls on GNU/Linux) as equivalent to the type specifier
(unsigned-byte 8).
Is the interpetation totally up to the impl? Or am I just missing it
in the spec?
-Peter
--
Peter Seibel ·····@javamonkey.com
Lisp is the red pill. -- John Fraser, comp.lang.lisp