SpanExtensions.AsBytes SpanExtensions.AsBytes SpanExtensions.AsBytes SpanExtensions.AsBytes Method

Definition

Overloads

AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>)
AsBytes<T>(Span<T>) AsBytes<T>(Span<T>) AsBytes<T>(Span<T>) AsBytes<T>(Span<T>)

AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>)

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static ReadOnlySpan<System::Byte> AsBytes(ReadOnlySpan<T> source);
public static ReadOnlySpan<byte> AsBytes<T> (this ReadOnlySpan<T> source) where T : struct;
static member AsBytes : ReadOnlySpan<'T (requires 'T : struct)> -> ReadOnlySpan<byte> (requires 'T : struct)
<Extension()>
Public Function AsBytes(Of T As Structure) (source As ReadOnlySpan(Of T)) As ReadOnlySpan(Of Byte)
Type Parameters
T
Parameters
Returns

AsBytes<T>(Span<T>) AsBytes<T>(Span<T>) AsBytes<T>(Span<T>) AsBytes<T>(Span<T>)

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static Span<System::Byte> AsBytes(Span<T> source);
public static Span<byte> AsBytes<T> (this Span<T> source) where T : struct;
static member AsBytes : Span<'T (requires 'T : struct)> -> Span<byte> (requires 'T : struct)
<Extension()>
Public Function AsBytes(Of T As Structure) (source As Span(Of T)) As Span(Of Byte)
Type Parameters
T
Parameters
Returns

Applies to