Crc64.TryHash Método

Definição

Sobrecargas

Name Description
TryHash(ReadOnlySpan<Byte>, Span<Byte>, Int32)

Tenta calcular o hash CRC-64 dos dados fornecidos no destino fornecido.

TryHash(Crc64ParameterSet, ReadOnlySpan<Byte>, Span<Byte>, Int32)

TryHash(ReadOnlySpan<Byte>, Span<Byte>, Int32)

Origem:
Crc64.cs
Origem:
Crc64.cs
Origem:
Crc64.cs
Origem:
Crc64.cs

Tenta calcular o hash CRC-64 dos dados fornecidos no destino fornecido.

public:
 static bool TryHash(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static bool TryHash(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
static member TryHash : ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Shared Function TryHash (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

Parâmetros

source
ReadOnlySpan<Byte>

Os dados para hash.

destination
Span<Byte>

O buffer que recebe o valor de hash calculado.

bytesWritten
Int32

Quando este método retorna, contém o número de bytes escritos em destination.

Devoluções

true se destination for suficientemente longo para receber o valor de hash calculado (8 bytes); caso contrário, false.

Aplica-se a

TryHash(Crc64ParameterSet, ReadOnlySpan<Byte>, Span<Byte>, Int32)

Origem:
Crc64.cs
public:
 static bool TryHash(System::IO::Hashing::Crc64ParameterSet ^ parameterSet, ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static bool TryHash(System.IO.Hashing.Crc64ParameterSet parameterSet, ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
static member TryHash : System.IO.Hashing.Crc64ParameterSet * ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Shared Function TryHash (parameterSet As Crc64ParameterSet, source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

Parâmetros

parameterSet
Crc64ParameterSet
source
ReadOnlySpan<Byte>
destination
Span<Byte>
bytesWritten
Int32

Devoluções

Aplica-se a