I have a general question on the usage of ImmutableData read(), or that matter any read from the network… The numerous read methods in the node api docs.maidsafe.net/safe_app_nodejs allow you to set an ‘offset’ and an ‘end’ to how much data you want to read.
So for example… If I have used ImmutableData.write() to write a large file to the network (gigabytes) then on another computer (that hasn’t cached or touched that data before) try to read bytes in the ‘middle’ of the file, what happens? Does the entire file need to be downloaded/fetched to read those middle bytes? Or are things magical enough that it can only fetch the chunks necessary to perform that read operation? I am assuming that things work similarly for NFS emulation etc. The way the datamap works with self encryption leads me to believe that it is just that magical… Would like a concrete answer though from someone that knows what they are talking about. Thanks!