Re: Bits from a stream
- From: "Alan Manuel K. Gloria" <almkglor@xxxxxxxxx>
- Date: 21 Mar 2006 00:50:16 -0800
@Peter:
Ah, I see.
Anyway, after opening a file, it would be best to first execute
(read-bit-reset) to reset the reader's closure.
In fact, I would probably have also written some sort of
(open-input-bit-stream) that does the open with (unsigned-byte 8) and
then does a (read-bit-reset), which I could then encapsulate out by
creating a new closure instead of resetting it - pretty much what
Zach's library does using objects.
@Zach:
Is there some sort of license to the code you posted a pointer to? I
assume it's sort of public domain?
.
- Follow-Ups:
- Re: Bits from a stream
- From: Zach Beane
- Re: Bits from a stream
- References:
- Bits from a stream
- From: Alan Manuel K. Gloria
- Re: Bits from a stream
- From: Zach Beane
- Re: Bits from a stream
- From: Peter Seibel
- Re: Bits from a stream
- From: Alan Manuel K. Gloria
- Re: Bits from a stream
- From: Alan Manuel K. Gloria
- Re: Bits from a stream
- From: Pascal Bourguignon
- Bits from a stream
- Prev by Date: Re: I would have started a new thread [was Re: Understanding Lisp error message(s)]
- Next by Date: Re: Be CAREFUL about mousing ambidextrously
- Previous by thread: Re: Bits from a stream
- Next by thread: Re: Bits from a stream
- Index(es):
Relevant Pages
|