2 instantiations of Crc32
System.IO.Hashing (1)
System\IO\Hashing\Crc32.cs (1)
71public Crc32 Clone() => new(_crc, ParameterSet);
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ScreenRecordService.cs (1)
154var crc = new Crc32();
18 references to Crc32
Aspire.Hosting.Azure (1)
Provisioning\BicepUtilities.cs (1)
96var hashedContents = Crc32.Hash(Encoding.UTF8.GetBytes(input));
System.IO.Hashing (5)
System\IO\Hashing\Crc32.cs (4)
35/// Initializes a new instance of the <see cref="Crc32"/> class using the ITU-T V.42 / IEEE 802.3 parameters. 45/// Initializes a new instance of the <see cref="Crc32"/> class using the specified parameters. 62/// <summary>Initializes a new instance of the <see cref="Crc32"/> class using the state from another instance.</summary> 71public Crc32 Clone() => new(_crc, ParameterSet);
System\IO\Hashing\Crc32ParameterSet.WellKnown.cs (1)
55internal override uint Update(uint value, ReadOnlySpan<byte> source) => Hashing.Crc32.Update(value, source);
System.Windows.Forms.UI.IntegrationTests (12)
Infra\ScreenRecordService.cs (12)
154var crc = new Crc32(); 344private static void WriteIend(Stream stream, byte[] buffer, Crc32 crc) 353private static void WriteActl(Stream stream, byte[] buffer, Crc32 crc, int frameCount, int playCount) 367private static void WriteFrame(Stream stream, byte[] buffer, Crc32 crc, ref int sequenceNumber, Bitmap frame, Size offset, TimeSpan delay) 378private static void WriteFdat(Stream stream, byte[] buffer, Crc32 crc, int sequenceNumber, ReadOnlySpan<byte> data) 391private static void WriteChunkHeader(Stream stream, byte[] buffer, Crc32 crc, ReadOnlySpan<byte> chunkType, uint dataLength) 402private static void WriteCrc(Stream stream, byte[] buffer, Crc32 crc) 472private static void WriteFctl(Stream stream, byte[] buffer, Crc32 crc, int sequenceNumber, Size size, Size offset, TimeSpan delay, ApngDisposeOp disposeOp, ApngBlendOp blendOp) 515private static void WritePngByte(Stream stream, Crc32? crc, byte value) 522private static void WritePngUInt16(Stream stream, byte[] buffer, Crc32? crc, ushort value) 529private static void WritePngUInt32(Stream stream, byte[] buffer, Crc32? crc, uint value) 536private static void Write(Stream stream, byte[] buffer, Crc32? crc, ReadOnlySpan<byte> bytes)