[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing stream element types



> Is there any way to change the element type of an
> input-binary-file-stream on the fly?
> 
> The (setf (slot-value .... method will change the value of the slot
> but does not change the number of bits read with a (read-byte ...
> 
> CLtl2 does not appear to mention anything about it.

There might be non-portable ways to (sometimes) do this in some 
implementations, but there is not any way to do it in general portable code.