# Package org.klomp.snark.bencode

Bencode parsing and serialization for BitTorrent protocol.

See: Description

- Class Summary
  Class | Description
  --- | ---
  BDecoder | Decodes a bencoded stream to `BEValue`s.
  BEncoder | Converts Java objects to bencoded format for BitTorrent protocol communication.
  BEValue | Holds different types that a bencoded byte array can represent.

- Exception Summary
  Exception | Description
  --- | ---
  InvalidBEncodingException | Exception thrown when a bencoded stream is corrupted.

## Package org.klomp.snark.bencode Description

Bencode parsing and serialization for BitTorrent protocol.

This package implements the Bencode format used by the BitTorrent protocol for encoding data structures. Bencode is a simple, efficient binary format that supports integers, strings, lists, and dictionaries.

Features include:

- Bencode parsing from byte streams
- Serialization to Bencode format
- Validation and error handling
- Memory-efficient processing
- Support for large files and data structures