From: Jeremy D. <jd...@cs...> - 2002-04-22 21:06:25
|
I was wondering if there is a way to change your position in a file when reading to and writing from the file? something similar to the 'seek' functions in C. By the way, I'd like to mention that I'm using a binary I/O stream and read/write-byte for I/O functions. =20 So I'd like to be able to: (let ((foo (open "myfile" :element-type '(unsigned-byte 8) :direction :input))) (seek foo 45) ;;; move ahead 45 bytes (read foo) ...) Any advice? Jeremy Doolin --=20 May all your disgraces be private |