ערוך

שתף באמצעות


CoseHeaderValue.FromBytes Method

Definition

Overloads

FromBytes(Byte[])

Creates a CoseHeaderValue instance from a byte array.

FromBytes(ReadOnlySpan<Byte>)

Creates a CoseHeaderValue instance from a span of bytes.

FromBytes(Byte[])

Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs

Creates a CoseHeaderValue instance from a byte array.

public:
 static System::Security::Cryptography::Cose::CoseHeaderValue FromBytes(cli::array <System::Byte> ^ value);
public static System.Security.Cryptography.Cose.CoseHeaderValue FromBytes (byte[] value);
static member FromBytes : byte[] -> System.Security.Cryptography.Cose.CoseHeaderValue
Public Shared Function FromBytes (value As Byte()) As CoseHeaderValue

Parameters

value
Byte[]

The bytes to be encoded and that the instance will represent.

Returns

An instance that represents the CBOR-encoded value.

Exceptions

value is null.

Applies to

FromBytes(ReadOnlySpan<Byte>)

Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs

Creates a CoseHeaderValue instance from a span of bytes.

public:
 static System::Security::Cryptography::Cose::CoseHeaderValue FromBytes(ReadOnlySpan<System::Byte> value);
public static System.Security.Cryptography.Cose.CoseHeaderValue FromBytes (ReadOnlySpan<byte> value);
static member FromBytes : ReadOnlySpan<byte> -> System.Security.Cryptography.Cose.CoseHeaderValue
Public Shared Function FromBytes (value As ReadOnlySpan(Of Byte)) As CoseHeaderValue

Parameters

value
ReadOnlySpan<Byte>

The bytes to be encoded and that the instance will represent.

Returns

An instance that represents the CBOR-encoded value.

Applies to