Table of Contents

BencodeTokenType Enum

Definition

Namespace
Bodu.Text.Bencode
Assembly
Bodu.Text.Bencode.dll
Package
Bodu.Text.Bencode 1.0.0
Source
BencodeTokenType.cs

Identifies the kind of token a Utf8BencodeReader is positioned on.

public enum BencodeTokenType
Extension Methods

Fields

None = 0

No token; the reader is positioned before the first token or after the last.

StartList = 1

The start of a list (l).

EndList = 2

The end of a list (e).

StartDictionary = 3

The start of a dictionary (d).

EndDictionary = 4

The end of a dictionary (e).

PropertyName = 5

A dictionary key (a byte string in key position).

Integer = 6

An integer value (i…e).

ByteString = 7

A byte-string value (<length>:<bytes>).

Applies to

ProductVersions
.NET8, 10