[bittorrent] Metainfo Integers

Roger Pau Monné royger at gmail.com
Wed Jul 21 12:04:33 EDT 2010


I'm sorry to bother the list with this noob question, but I've read at
http://wiki.theory.org/BitTorrentSpecification that integers in
bittorrent metainfo bencoded files (.torrent) can be 64bit signed
integers, why are they signed? Since it's only used for piece lenght,
number of pieces... It is correct to treat them as 64bit unsigned
integers? Or I am missing something.

Thanks for the help, Roger

More information about the BitTorrent mailing list