AnsweredAssumed Answered

vrf Binary files - jump to location

Question asked by rsb on Nov 20, 2005
> How can you jump to a location (known number of bytes) in a large binary file, without having to read (an ignore) through the required number of bytes in a loop using the "Read Binary" in the "from File" function? For example is there any way to jump directly to a location by just specifying the number of bytes to skip?
>
> I'm using VEE Pro version 6.2

You can't- not even in principle. All modern file systems are
sequential access, so there's no way to do anything other than
read one byte at a time and walk through the file.

This is not a VEE issue, but rather a basic fiel system issue.
Applies to all modern OS's ( Unix, Linux, Windows, Mac, etc. ).

Now you _can_ of course create functions that will do what
you describe and hide the sequential nature of the file system,
but underneath the action is still there.

Stan

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes