Uses of Class
org.klomp.snark.bencode.InvalidBEncodingException

Packages that use InvalidBEncodingException
org.klomp.snark I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features. 
org.klomp.snark.bencode   
 

Uses of InvalidBEncodingException in org.klomp.snark
 

Methods in org.klomp.snark that throw InvalidBEncodingException
 MetaInfo MetaInfo.reannounce(String announce)
          Creates a copy of this MetaInfo that shares everything except the announce URL.
 

Constructors in org.klomp.snark that throw InvalidBEncodingException
MetaInfo(Map<String,BEValue> m)
          Creates a new MetaInfo from a Map of BEValues and the SHA1 over the original bencoded info dictonary (this is a hack, we could reconstruct the bencoded stream and recalculate the hash).
PeerID(byte[] dest_hash, I2PSnarkUtil util)
          Creates a PeerID from a destHash
PeerID(Map<String,BEValue> m)
          Creates a PeerID from a Map containing BEncoded peer id, ip and port.
 

Uses of InvalidBEncodingException in org.klomp.snark.bencode
 

Methods in org.klomp.snark.bencode that throw InvalidBEncodingException
 byte[] BEValue.getBytes()
          Returns this BEValue as a byte[].
 int BEValue.getInt()
          Returns this BEValue as int.
 List<BEValue> BEValue.getList()
          Returns this BEValue as a List of BEValues.
 long BEValue.getLong()
          Returns this BEValue as long.
 Map<String,BEValue> BEValue.getMap()
          Returns this BEValue as a Map of BEValue keys and BEValue values.
 Number BEValue.getNumber()
          Returns this BEValue as a Number.
 String BEValue.getString()
          Returns this BEValue as a String.