BencodeTokenType Enum
The kind of token BencodeReader is positioned on.
public enum BencodeTokenTypeFields
| Name | Value | Description |
|---|---|---|
None | 0 | No token: BencodeReader.ReadAsync was not called yet, or the data ended. |
Integer | 1 | An integer. |
String | 2 | A string that is a value. |
Key | 3 | A string that is the key of a dictionary entry. The value of the entry is the next token. |
StartList | 4 | The start of a list. |
EndList | 5 | The end of a list. |
StartDictionary | 6 | The start of a dictionary. |
EndDictionary | 7 | The end of a dictionary. |