Buffer.readUInt32LE(5); Buffer.readUInt32LE();
In that example the buffer offset should now be set to 13. On the first read I am setting the offset to 5 and reading 4 bytes leaving the offset at 9.. then I read 4 more bytes which would leave it at 13. But I don't want to have to keep track of where the offset is while parsing a bunch of data. Surely there is a way to read the current offset and seek within the buffer. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/4fe5ace2-4a47-43e8-af1e-ff7666aaa966%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
