BencodeValueKind Enum
Definition
Identifies the kind of value a Bencode element represents.
public enum BencodeValueKind
- Extension Methods
Fields
Object = 0A dictionary, represented by a BencodeObject in the mutable model or an object BencodeElement in the read-only model.
Array = 1A list, represented by a BencodeArray in the mutable model or an array BencodeElement in the read-only model.
ByteString = 2A byte string, represented by a BencodeValue in the mutable model or a byte-string BencodeElement in the read-only model.
Integer = 3An integer, represented by a BencodeValue in the mutable model or an integer BencodeElement in the read-only model.
Remarks
Bencode (BEP 3) has no boolean, null, or floating-point values, so the enumeration defines only the four value kinds the format supports - dictionaries, lists, byte strings, and integers.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |