A bencode integer.
BInteger
01 Syntax
Microsoft.VisualBasic.Serialization.Bencoding.BInteger
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | The main constructor. |
| ToBencodedString | 2 | Generates the bencoded equivalent of the integer. |
| GetHashCode | 1 | |
| Equals | 1 | Int32.Equals(object) |
| ToString | 1 | |
| CompareTo | 1 | |
| op_Implicit | 1 | Allows you to set an integer to a BInteger. |
| op_Explicit | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Value | 1 | The value of the bencoded integer. |
04 Members
#ctor(
Int64)The main constructor.
Parameters
| Name | Type | Description |
|---|---|---|
value | Int64 | The value of the bencoded integer. |
ToBencodedString
Generates the bencoded equivalent of the integer.
Returns
The bencoded equivalent of the integer.
ToBencodedString(
StringBuilder)Generates the bencoded equivalent of the integer.
Returns
The bencoded equivalent of the integer.
GetHashCode
Equals(
Object)Int32.Equals(object)
ToString
CompareTo(BInteger)
op_Implicit(
Int32)Allows you to set an integer to a BInteger.
Parameters
| Name | Type | Description |
|---|---|---|
n | Int32 | - |
Value
The value of the bencoded integer.
op_Explicit(BInteger)