Crc32.HashToUInt32(ReadOnlySpan<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Computes the CRC-32 hash of the provided data.
public:
static System::UInt32 HashToUInt32(ReadOnlySpan<System::Byte> source);
[System.CLSCompliant(false)]
public static uint HashToUInt32 (ReadOnlySpan<byte> source);
[<System.CLSCompliant(false)>]
static member HashToUInt32 : ReadOnlySpan<byte> -> uint32
Public Shared Function HashToUInt32 (source As ReadOnlySpan(Of Byte)) As UInteger
Parameters
- source
- ReadOnlySpan<Byte>
The data to hash.
Returns
The computed CRC-32 hash.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.