Hello,
I was checking some of my code to figure out why a depacker returned only 0's from a certain point.
Now I figured out that the code below only reads in half of the file (499 bytes) when using a debugger built.
In release mode it read the file completely (902 bytes).
It happend in genymotion and on a real tablet.
Is there any reason for this?
Needless to say that this will cause more problems for some people.
I was checking some of my code to figure out why a depacker returned only 0's from a certain point.
Now I figured out that the code below only reads in half of the file (499 bytes) when using a debugger built.
In release mode it read the file completely (902 bytes).
B4X:
in=File.OpenInput(File.DirAssets,fn)
Log(in.ReadBytes( buffer,0,1000 ))
It happend in genymotion and on a real tablet.
Is there any reason for this?
Needless to say that this will cause more problems for some people.