Package-level declarations

Types

Link copied to clipboard
object Base32

RFC 4648 base32 encode/decode. Pure Kotlin (no platform codecs), so it works in commonMain across every target.

Link copied to clipboard
class BloomFilter(val numBytes: Int)

A fixed-size Bloom filter keyed by 20-byte hashes. This is a pure-Kotlin port of libtorrent's bloom_filter<N> (bloom_filter.hpp) plus the free functions set_bits / has_bits / count_zero_bits (bloom_filter.cpp).

Link copied to clipboard
object StringUtil

Small, locale-independent string helpers. This is a pure-Kotlin port of the portable parts of libtorrent's string_util.cpp and string_util.hpp (plus base64encode from escape_string.cpp).

Link copied to clipboard
object UrlEscape

URL percent-encoding / decoding, pure Kotlin so it runs in commonMain on every target.