Package DebTorrent :: Module bencode :: Class Bencached
[hide private]
[frames] | no frames]

Class Bencached

source code

Dummy data structure for storing bencoded data in memory.

Instance Methods [hide private]
 
__init__(self, s) source code
Instance Variables [hide private]
string bencoded
the bencoded data stored in a string
list marker
mutable type to make sure the data was encoded by this class
Method Details [hide private]

__init__(self, s)
(Constructor)

source code 
Parameters:
  • s (string) - the new bencoded data to store