Package-level declarations
Types
The pure-Kotlin port of libtorrent's add_torrent_params (include/libtorrent/add_torrent_params.hpp): all the information needed to add a torrent to a session, and the in-memory shape that fast-resume data round-trips through.
One IP endpoint (an address plus a TCP port). This is the pure-Kotlin stand-in for the tcp::endpoint values libtorrent stores in add_torrent_params::peers and banned_peers. On the wire (and in resume data) an endpoint is the address bytes in network order followed by a 16-bit big-endian port: 6 bytes for IPv4, 18 for IPv6 (see write_endpoint / read_v*_endpoint in socket_io.hpp).
Fast-resume (de)serialisation: the pure-Kotlin port of libtorrent's write_resume_data() (src/write_resume_data.cpp) and read_resume_data() (src/read_resume_data.cpp).
The torrent_flags_t bit constants. This is a pure-Kotlin port of libtorrent's torrent_flags namespace (include/libtorrent/torrent_flags.hpp).