Summary
Encodes a string to specified format encoding (base 32/64/etc), strings are first converted to a bom-free utf8 byte[] then to relevant encoding.
- Assembly
- Rocket
.Surgery .Extensions .dll - Namespace
- Rocket
.Surgery .Encoding - Containing Type
- Base3264Encoding
Syntax
public static string EncodeString(EncodingType type, string input)
Parameters
Name | Type | Description |
---|---|---|
type | EncodingType | encoding type |
input | string | string to be encoded |
Return Value
Type | Description |
---|---|
string | Encoded string |