CoseHeaderValue.FromBytes 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.
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
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
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin