Base3264Encoding.

EncodeString(EncodingType, string) Method

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.

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