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