Upravit

Sdílet prostřednictvím


BinaryData.Implicit Operator

Definition

Overloads

Implicit(BinaryData to ReadOnlyMemory<Byte>)

Defines an implicit conversion from a BinaryData to a ReadOnlyMemory<T>.

Implicit(BinaryData to ReadOnlySpan<Byte>)

Defines an implicit conversion from a BinaryData to a ReadOnlySpan<T>.

Implicit(BinaryData to ReadOnlyMemory<Byte>)

Source:
BinaryData.cs
Source:
BinaryData.cs
Source:
BinaryData.cs

Defines an implicit conversion from a BinaryData to a ReadOnlyMemory<T>.

public:
 static operator ReadOnlyMemory<System::Byte>(BinaryData ^ data);
public static implicit operator ReadOnlyMemory<byte> (BinaryData? data);
static member op_Implicit : BinaryData -> ReadOnlyMemory<byte>
Public Shared Widening Operator CType (data As BinaryData) As ReadOnlyMemory(Of Byte)

Parameters

data
BinaryData

The value to be converted.

Returns

A read-only memory of bytes representing the implicitly converted BinaryData.

Applies to

Implicit(BinaryData to ReadOnlySpan<Byte>)

Source:
BinaryData.cs
Source:
BinaryData.cs
Source:
BinaryData.cs

Defines an implicit conversion from a BinaryData to a ReadOnlySpan<T>.

public:
 static operator ReadOnlySpan<System::Byte>(BinaryData ^ data);
public static implicit operator ReadOnlySpan<byte> (BinaryData? data);
static member op_Implicit : BinaryData -> ReadOnlySpan<byte>
Public Shared Widening Operator CType (data As BinaryData) As ReadOnlySpan(Of Byte)

Parameters

data
BinaryData

The value to be converted.

Returns

A read-only span of bytes representing the implicitly converted BinaryData.

Applies to