Helper for Encodings
EncodingHelper
01 Syntax
Microsoft.VisualBasic.Text.EncodingHelper
02 Methods
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| TextEncoding | 1 | Encoding instance |
04 Members
#ctor(Encodings)
Helper for Encodings
Parameters
| Name | Type | Description |
|---|---|---|
encoding | Encodings | - |
GetBytes(
String)When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.
Parameters
| Name | Type | Description |
|---|---|---|
s | String | The string containing the characters to encode. |
Returns
A byte array containing the results of encoding the specified set of characters.
ToString(Byte())
When overridden in a derived class, decodes all the bytes in the specified byte array into a string.
Parameters
| Name | Type | Description |
|---|---|---|
byts | Byte() | The byte array containing the sequence of bytes to decode. |
Returns
A string that contains the results of decoding the specified sequence of bytes.
ToString
Encoding instance
TextEncoding
Encoding instance