internal static KeyValuePair <string, byte[]> Base64Decode(this Stream stream, IDictionary <string, string> prefixAndSuffix) { using (var reader = new StreamReader(stream)) { return(reader.Base64Decode(prefixAndSuffix)); } }
internal static byte[] Base64Decode(this Stream stream, string prefix, string suffix) { using (var reader = new StreamReader(stream)) { return(reader.Base64Decode(prefix, suffix)); } }