Re: [Libbt-devel] question about btlist
Brought to you by:
ksmathers
From: Peter S. <stu...@cd...> - 2005-02-11 14:59:15
|
On Thu, Feb 10, 2005 at 02:42:02PM +0100, Alien wrote: > 0x502ab8(STRING)=(6)'pieces' > => > 0x502a50(STRING)=(156040)'[EAd???g?????f????????,1U?? ????...' > > > this last string is that normal? a huge string? i thought the > pieces were supposed to be there? which it would have to be a > number? > > thanks for any info relating to this Quoting docs/protocol.txt: --8<-- 'pieces' maps to a string whose length is a multiple of 20. It is to be subdivided into strings of length 20, each of which is the sha1 hash of the piece at the corresponding index. -->8-- So yes, it's supposed to be long and binary. //Peter |