Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Text
  3. EncodingExtensions
  4. GetChars(Encoding, ReadOnlySpan<Byte>, IBufferWriter<Char>)
  • EncodingExtensions
    • Convert(Decoder, ReadOnlySequence<Byte>, IBufferWriter<Char>, Boolean, Int64, Boolean)
    • Convert(Decoder, ReadOnlySpan<Byte>, IBufferWriter<Char>, Boolean, Int64, Boolean)
    • Convert(Encoder, ReadOnlySequence<Char>, IBufferWriter<Byte>, Boolean, Int64, Boolean)
    • Convert(Encoder, ReadOnlySpan<Char>, IBufferWriter<Byte>, Boolean, Int64, Boolean)
    • GetBytes(Encoding, ReadOnlySequence<Char>)
    • GetBytes(Encoding, ReadOnlySequence<Char>, IBufferWriter<Byte>)
    • GetBytes(Encoding, ReadOnlySequence<Char>, Span<Byte>)
    • GetBytes(Encoding, ReadOnlySpan<Char>, IBufferWriter<Byte>)
    • GetChars(Encoding, ReadOnlySequence<Byte>, IBufferWriter<Char>)
    • GetChars(Encoding, ReadOnlySequence<Byte>, Span<Char>)
    • GetChars(Encoding, ReadOnlySpan<Byte>, IBufferWriter<Char>)
    • GetString(Encoding, ReadOnlySequence<Byte>)
net9.0
namespace System.Text
{
    public static class EncodingExtensions
    {
        public static long GetChars(this Encoding! encoding, ReadOnlySpan<byte> bytes, IBufferWriter<char>! writer);
    }
}
.NET
5.06.07.08.09.0
Information specific to net9.0
Assembly

System.Memory , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

11/03/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙