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

Packages that use InvalidBEncodingException
Package | Description
--- | ---
org.klomp.snark |
org.klomp.snark.bencode |

### Uses of InvalidBEncodingException in org.klomp.snark

Constructors in org.klomp.snark that throw InvalidBEncodingException
Constructor and 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)` Creates a PeerID from a destHash
`PeerID(Map 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 and Description
--- | ---
`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.