John Clements writes:
> I want to read a chunk from the middle of a 50-megabyte file. As far
> as I can see, there are no random-access file primitives currently in
> DrRacket. Also, I don't see a "skip-bytes", so it looks like I should
> be allocating a junk buffer and then repeatedly calling
I think you want file-position
http://docs.racket-lang.org/reference/port-buffers.html#(def._((quote._~23~25kernel)._file-position))
Jay
On Tue, Sep 28, 2010 at 3:15 PM, John Clements
wrote:
> I want to read a chunk from the middle of a 50-megabyte file. As far as I
> can see, there are no ra
I want to read a chunk from the middle of a 50-megabyte file. As far as I can
see, there are no random-access file primitives currently in DrRacket. Also, I
don't see a "skip-bytes", so it looks like I should be allocating a junk buffer
and then repeatedly calling read-bytes to read the skippe
3 matches
Mail list logo