CoseHeaderValue.FromBytes Method
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.
FromBytes(Byte[]) |
Creates a CoseHeaderValue instance from a byte array. |
FromBytes(ReadOnlySpan<Byte>) |
Creates a CoseHeaderValue instance from a span of bytes. |
- 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
.NET 9 (package-provided) και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
- 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
.NET 9 (package-provided) και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: