ImmutableItem

An immutable BEP-44 item, item(entry v) in libtorrent. Its target is the SHA-1 of the bencoded value, so the value cannot change without changing the key.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val bencodedValue: ByteArray

The exact bencoding of value: the bytes that travel as a["v"].

Link copied to clipboard
open override val isMutable: Boolean

True for a BEP-44 mutable (signed) item.

Link copied to clipboard
open override val target: Sha1Hash

The DHT key this item is stored under.

Link copied to clipboard
open override val value: Entry

The item's value as an editable Entry.