Uses of Class
org.klomp.snark.bencode.InvalidBEncodingException
-
Packages that use InvalidBEncodingException Package Description 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 Modifier and Type Method Description MetaInfoMetaInfo. reannounce(String announce)Creates a copy of this MetaInfo that shares everything except the announce URL.Constructors in org.klomp.snark that throw InvalidBEncodingException Constructor Description 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 destHashPeerID(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 Modifier and Type Method Description byte[]BEValue. getBytes()Returns this BEValue as a byte[].intBEValue. getInt()Returns this BEValue as int.List<BEValue>BEValue. getList()Returns this BEValue as a List of BEValues.longBEValue. getLong()Returns this BEValue as long.Map<String,BEValue>BEValue. getMap()Returns this BEValue as a Map of BEValue keys and BEValue values.NumberBEValue. getNumber()Returns this BEValue as a Number.StringBEValue. getString()Returns this BEValue as a String.
-