Base32 encoder class.
More...
|
static byte[] | FromBase32String (string base32string) |
| Converts a Base32-string to a byte-array.
|
|
static string | ToBase32String (params byte[] bytes) |
| Converts a byte-array to a Base32-string.
|
|
static string | ToBase32String (string str, Encoding? encoding=null) |
| Converts the value of a string to a Base32-string.
|
|
static string | Base32FromFile (string file) |
| Converts a file to a Base32-string.
|
|
static async Task< string > | Base32FromFileAsync (string file) |
| Converts a file to a Base32-string asynchronously.
|
|
static bool | FileFromBase32 (string file, string base32string) |
| Converts a Base32-string to a file.
|
|
static async Task< bool > | FileFromBase32Async (string file, string base32string) |
| Converts a Base32-string to a file asynchronously.
|
|
◆ Base32FromFile()
static string BogaNet.Encoder.Base32.Base32FromFile |
( |
string | file | ) |
|
|
static |
Converts a file to a Base32-string.
- Parameters
-
- Returns
- File content as converted Base32-string
- Exceptions
-
◆ Base32FromFileAsync()
static async Task< string > BogaNet.Encoder.Base32.Base32FromFileAsync |
( |
string | file | ) |
|
|
static |
Converts a file to a Base32-string asynchronously.
- Parameters
-
- Returns
- File content as converted Base32-string
- Exceptions
-
◆ FileFromBase32()
static bool BogaNet.Encoder.Base32.FileFromBase32 |
( |
string | file, |
|
|
string | base32string ) |
|
static |
Converts a Base32-string to a file.
- Parameters
-
file | File to write the content of the Base32-string |
base32string | Data as Base32-string |
- Returns
- True if the operation was successful
- Exceptions
-
◆ FileFromBase32Async()
static async Task< bool > BogaNet.Encoder.Base32.FileFromBase32Async |
( |
string | file, |
|
|
string | base32string ) |
|
static |
Converts a Base32-string to a file asynchronously.
- Parameters
-
file | File to write the content of the Base32-string |
base32string | Data as Base32-string |
- Returns
- True if the operation was successful
- Exceptions
-
◆ FromBase32String()
static byte[] BogaNet.Encoder.Base32.FromBase32String |
( |
string | base32string | ) |
|
|
static |
Converts a Base32-string to a byte-array.
- Parameters
-
base32string | Data as Base32-string |
- Returns
- Data as byte-array
- Exceptions
-
◆ ToBase32String() [1/2]
static string BogaNet.Encoder.Base32.ToBase32String |
( |
params byte[] | bytes | ) |
|
|
static |
Converts a byte-array to a Base32-string.
- Parameters
-
- Returns
- Data as encoded Base32-string
- Exceptions
-
◆ ToBase32String() [2/2]
static string BogaNet.Encoder.Base32.ToBase32String |
( |
string | str, |
|
|
Encoding? | encoding = null ) |
|
static |
Converts the value of a string to a Base32-string.
- Parameters
-
str | Input string |
encoding | Encoding of the string (optional, default: UTF8) |
- Returns
- String value as converted Base32-string
- Exceptions
-
The documentation for this class was generated from the following file:
- /Users/stefanlaubenberger/Projects/CSharp/BogaNet/BogaNet.Encoder/Encoder/Base32.cs