CoseHeaderValue.GetValueAsBytes 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
GetValueAsBytes() |
Gets the CBOR-encoded value as a byte string. |
GetValueAsBytes(Span<Byte>) |
Gets the CBOR-encoded value as a byte string. |
GetValueAsBytes()
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
Gets the CBOR-encoded value as a byte string.
public:
cli::array <System::Byte> ^ GetValueAsBytes();
public byte[] GetValueAsBytes ();
member this.GetValueAsBytes : unit -> byte[]
Public Function GetValueAsBytes () As Byte()
Returns
Byte[]
The decoded value as a byte array.
Exceptions
The value could not be decoded as byte string.
Applies to
GetValueAsBytes(Span<Byte>)
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
- Source:
- CoseHeaderValue.cs
Gets the CBOR-encoded value as a byte string.
public:
int GetValueAsBytes(Span<System::Byte> destination);
public int GetValueAsBytes (Span<byte> destination);
member this.GetValueAsBytes : Span<byte> -> int
Public Function GetValueAsBytes (destination As Span(Of Byte)) As Integer
Parameters
Returns
The number of bytes written to destination
.
Exceptions
destination
is too small to hold the value.
The value could not be decoded as byte string.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.