Re: Are metainfo files (.torrent) text files ?

"skybuckflying" <[email protected]>
Newsgroups gmane.network.bit-torrent.general
Message-ID <[email protected]>

--- In [email protected], antipast0@y... wrote:
> 
> What about "byte ordering" ?

A metainfo file consists out of "bencoded integers", "bencoded 
strings", "bencoded lists" and "bencoded dictionaries"

These data types don't have a most significant or least significant 
byte.

They work more like strings or byte streams ;)

The order of the bytes is therefore

0,1,2,3,4,5,6,7,8,9,10, etc.
i,1,2,3,e,4,:,s,p,a,m,

Even if the complete torrent was encoding in utf8 there would be no 
byte order problems =D

Bye,
  Skybuck.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/BitTorrent/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.