/// <summary> /// Shortcuts ChecksumUpdateRegion.ForAdler. /// </summary> /// <param name="stm"></param> /// <param name="adler"></param> /// <returns></returns> public static ChecksumUpdateRegion GetAdlerUpdateRegion(this MemoryStream stm, Adler32 adler) { return(ChecksumUpdateRegion.ForAdler(stm, adler)); }
/// <summary> /// Shortcuts ChecksumUpdateRegion.ForCrc. /// </summary> /// <param name="stm"></param> /// <param name="crc"></param> /// <returns></returns> public static ChecksumUpdateRegion GetCrcUpdateRegion(this MemoryStream stm, uint?crc = null) { return(ChecksumUpdateRegion.ForCrc(stm, crc)); }