I\'m trying to write a function that converts a string to a base64 byte array. I\'ve tried with this approach:
public byte[] stringToBase64ByteArray(String input
All strings in .NET are unicode. This code will produce valid result but the consumer of the BASE64 string should also be unicode enabled.