- Machine Learning cheatsheet: https://stanford.edu/~shervine/teaching/cs-229.html
- Pattern Recognition and Machine Learning Book
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Xml; | |
using System.Xml.Linq; | |
using Microsoft.Exchange.WebServices.Data; | |
using System.Linq; | |
using System.Net; | |
using System.Security; | |
using System.Text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Removes the Pkcs7 padding of an array. | |
/// </summary> | |
/// <param name="paddedByteArray">The padded array.</param> | |
/// <returns>The unpadded array.</returns> | |
/// <exception cref="OverflowException"></exception> | |
/// <exception cref="ArgumentOutOfRangeException"></exception> | |
/// <exception cref="ArgumentException"></exception> | |
/// <exception cref="ArgumentNullException"></exception> | |
public static byte[] RemovePkcs7Padding(byte[] paddedByteArray) |
OlderNewer