Uses of Class
org.klomp.snark.bencode.InvalidBEncodingException
Package
Description
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced
to add a web UI, DHT support, and other features.
-
Uses of InvalidBEncodingException in org.klomp.snark
Modifier and TypeMethodDescriptionMetaInfo.reannounce
(String announce) Creates a copy of this MetaInfo that shares everything except the announce URL.ModifierConstructorDescriptionCreates 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 destHashCreates a PeerID from a Map containing BEncoded peer id, ip and port. -
Uses of InvalidBEncodingException in org.klomp.snark.bencode
Modifier and TypeMethodDescriptionbyte[]
BEValue.getBytes()
Returns this BEValue as a byte[].int
BEValue.getInt()
Returns this BEValue as int.BEValue.getList()
Returns this BEValue as a List of BEValues.long
BEValue.getLong()
Returns this BEValue as long.BEValue.getMap()
Returns this BEValue as a Map of BEValue keys and BEValue values.BEValue.getNumber()
Returns this BEValue as a Number.BEValue.getString()
Returns this BEValue as a String.