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

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

- - ### Uses of BEValue in org.klomp.snark

    Methods in org.klomp.snark that return types with arguments of type BEValue
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,BEValue>` | Peer.`getHandshakeMap()`

    Method parameters in org.klomp.snark with type arguments of type BEValue
    Modifier and Type | Method and Description
    --- | ---
    `void` | Peer.`setHandshakeMap(Map<String,BEValue> map)`

    Constructor parameters in org.klomp.snark with type arguments of type BEValue
    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).

  - ### Uses of BEValue in org.klomp.snark.bencode

    Methods in org.klomp.snark.bencode that return BEValue
    Modifier and Type | Method and Description
    --- | ---
    `BEValue` | BDecoder.`bdecode()` Gets the next indicator and returns either null when the stream has ended or bdecodes the rest of the stream and returns the appropriate BEValue encoded object.
    `static BEValue` | BDecoder.`bdecode(InputStream in)` Creates a new BDecoder and immediatly decodes the first value it sees.
    `BEValue` | BDecoder.`bdecodeBytes()` Returns the next bencoded value on the stream and makes sure it is a byte array.
    `BEValue` | BDecoder.`bdecodeList()` Returns the next bencoded value on the stream and makes sure it is a list.
    `BEValue` | BDecoder.`bdecodeMap()` Returns the next bencoded value on the stream and makes sure it is a map (dictonary).
    `BEValue` | BDecoder.`bdecodeNumber()` Returns the next bencoded value on the stream and makes sure it is a number.

    Methods in org.klomp.snark.bencode that return types with arguments of type BEValue
    Modifier and Type | Method and Description
    --- | ---
    `List<BEValue>` | BEValue.`getList()` Returns this BEValue as a List of BEValues.
    `Map<String,BEValue>` | BEValue.`getMap()` Returns this BEValue as a Map of BEValue keys and BEValue values.