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)
net9.0
namespace System.Text
{
public class ASCIIEncoding : Encoding
{
public override bool TryGetBytes(ReadOnlySpan<char> chars, Span<byte> bytes, out int bytesWritten);
}
}
.NET | 8.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | System.Text.Encoding.Extensions , Version=9.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