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