.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Text
  3. ASCIIEncoding
  4. TryGetChars(ReadOnlySpan<Byte>, Span<Char>, Int32)
  • ASCIIEncoding
    • ASCIIEncoding()
    • IsSingleByte
    • GetByteCount(String)
    • GetByteCount(Char*, Int32)
    • GetByteCount(Char[], Int32, Int32)
    • GetByteCount(ReadOnlySpan<Char>)
    • GetBytes(Char*, Int32, Byte*, Int32)
    • GetBytes(Char[], Int32, Int32, Byte[], Int32)
    • GetBytes(String, Int32, Int32, Byte[], Int32)
    • GetBytes(ReadOnlySpan<Char>, Span<Byte>)
    • GetCharCount(Byte*, Int32)
    • GetCharCount(Byte[], Int32, Int32)
    • GetCharCount(ReadOnlySpan<Byte>)
    • GetChars(Byte*, Int32, Char*, Int32)
    • GetChars(Byte[], Int32, Int32, Char[], Int32)
    • GetChars(ReadOnlySpan<Byte>, Span<Char>)
    • GetDecoder()
    • GetEncoder()
    • GetMaxByteCount(Int32)
    • GetMaxCharCount(Int32)
    • GetString(Byte[])
    • GetString(Byte[], Int32, Int32)
    • TryGetBytes(ReadOnlySpan<Char>, Span<Byte>, Int32)
    • TryGetChars(ReadOnlySpan<Byte>, Span<Char>, Int32)
net8.0
namespace System.Text
{
    public class ASCIIEncoding : Encoding
    {
        public override bool TryGetChars(ReadOnlySpan<byte> bytes, Span<char> chars, out int charsWritten);
    }
}
.NET 8.09.0
Information specific to net8.0
Assembly

System.Text.Encoding.Extensions , Version=8.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙