EncodingExtensions.GetChars Method

Definition

Overloads

GetChars(Encoding, ReadOnlySequence<Byte>, IBufferWriter<Char>)
GetChars(Encoding, ReadOnlySequence<Byte>, Span<Char>)
GetChars(Encoding, ReadOnlySpan<Byte>, IBufferWriter<Char>)

GetChars(Encoding, ReadOnlySequence<Byte>, IBufferWriter<Char>)

public:
[System::Runtime::CompilerServices::Extension]
 static long GetChars(System::Text::Encoding ^ encoding, System::Buffers::ReadOnlySequence<System::Byte> % bytes, System::Buffers::IBufferWriter<char> ^ writer);
public static long GetChars (this System.Text.Encoding encoding, ref System.Buffers.ReadOnlySequence<byte>? bytes, System.Buffers.IBufferWriter<char> writer);
static member GetChars : System.Text.Encoding * ReadOnlySequence * System.Buffers.IBufferWriter<char> -> int64
<Extension()>
Public Function GetChars (encoding As Encoding, ByRef bytes As ReadOnlySequence(Of Byte), writer As IBufferWriter(Of Char)) As Long

Parameters

encoding
Encoding

Returns

Int64

GetChars(Encoding, ReadOnlySequence<Byte>, Span<Char>)

public:
[System::Runtime::CompilerServices::Extension]
 static int GetChars(System::Text::Encoding ^ encoding, System::Buffers::ReadOnlySequence<System::Byte> % bytes, Span<char> chars);
public static int GetChars (this System.Text.Encoding? encoding, ref System.Buffers.ReadOnlySequence<byte> bytes, Span<char> chars);
static member GetChars : System.Text.Encoding * ReadOnlySequence * Span<char> -> int
<Extension()>
Public Function GetChars (encoding As Encoding, ByRef bytes As ReadOnlySequence(Of Byte), chars As Span(Of Char)) As Integer

Parameters

encoding
Encoding
chars
Span<Char>

Returns

Int32

GetChars(Encoding, ReadOnlySpan<Byte>, IBufferWriter<Char>)

public:
[System::Runtime::CompilerServices::Extension]
 static long GetChars(System::Text::Encoding ^ encoding, ReadOnlySpan<System::Byte> bytes, System::Buffers::IBufferWriter<char> ^ writer);
public static long GetChars (this System.Text.Encoding encoding, ReadOnlySpan<byte>? bytes, System.Buffers.IBufferWriter<char> writer);
static member GetChars : System.Text.Encoding * ReadOnlySpan<byte> * System.Buffers.IBufferWriter<char> -> int64
<Extension()>
Public Function GetChars (encoding As Encoding, bytes As ReadOnlySpan(Of Byte), writer As IBufferWriter(Of Char)) As Long

Parameters

encoding
Encoding

Returns

Int64

Applies to