I can’t figure out how to read multiple bytes. I’m trying to read a 32-bit integer so that I can store it to be used by a class.
My (truncated) code:
(let ((version-buffer (byte 4 0)))
(read-sequence version-buffer input-stream)
(cond
((> version-buffer 10) (read-sequence minor-version-buffer input-stream)) (t t))
(setf (navigation-mesh-version temp-mesh) `(,(version-buffer)) )
)
EDIT: Truncated the code further.
You must log in or # to comment.
I think if you trimmed the problem down to a couple of lines you’d get a better response =/
deleted by creator
deleted by creator