Displaying 1 result from an estimated 1 matches for "size_to_use".
2012 Jun 19
1
seek(), skip by bits (not by bytes) in binary file
...e result b/c I don't want it
}
# read a a little more to include the remainder/modulus bits left over by
dividing by 20 above
x = readBin(to.read,'raw',n=jb_part_mod,size=1)
x = NULL # trash it
# finally get the data that I want
data1 = readBin(to.read,double(),n=some_number,size=size_to_use)
This works, but it is SLOW! Any ideas on how to get down to the correct
bit a bit quicker (pun intended). :)
Thanks for any help!
Ben
[[alternative HTML version deleted]]