fish <fish at bovine.artificial-stupidity.net> writes: > On 8 Sep 2002, Robert Bihlmeyer wrote: > > > Hi, > > > > is there a way to get at the size of a splitfile's blocks before > > successfully fetching one block? I'm trying to snarf a number of > > blocks simultanously, immediately dropping them into their right > > positions in the same destination file (rather than into a number of > > temp files). This is only possible if I know their sizes beforehand. > > in the metadata for the main file, there is a 'SplitFile.BlockSize' entry, > which gives you the size of a block, and a 'SplitFile.Size' which gives > you the size of the completed file. > Oh yeah, I had forgotten that I actually allowed for BlockSize in the spec. The issue came up before, and BlockSize was my compromise. It's an optional piece of information, though. The main reason it's optional is that I can see some good reasons for allowing variable block sizes.
> - from fish with love > > p.s. fec? ^_^ > What about FEC? Are you wondering if he's implementing it? Thelema -- E-mail: thelema314 at bigfoot.com Raabu and Piisu GPG 1024D/36352AAB fpr:756D F615 B4F3 BFFC 02C7 84B7 D8D7 6ECE 3635 2AAB _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
