JavaScriptTestEncoder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encoder used for unit testing.
public ref class JavaScriptTestEncoder : System::Text::Encodings::Web::JavaScriptEncoder
public class JavaScriptTestEncoder : System.Text.Encodings.Web.JavaScriptEncoder
type JavaScriptTestEncoder = class
inherit JavaScriptEncoder
Public Class JavaScriptTestEncoder
Inherits JavaScriptEncoder
- Inheritance
Constructors
| JavaScriptTestEncoder() |
Properties
| MaxOutputCharactersPerInputCharacter |
Methods
| Encode(ReadOnlySpan<Char>, Span<Char>, Int32, Int32, Boolean) |
Encodes the supplied characters. (Inherited from TextEncoder) |
| Encode(String) | |
| Encode(TextWriter, Char[], Int32, Int32) | |
| Encode(TextWriter, String) |
Encodes the specified string to a TextWriter object. (Inherited from TextEncoder) |
| Encode(TextWriter, String, Int32, Int32) | |
| EncodeUtf8(ReadOnlySpan<Byte>, Span<Byte>, Int32, Int32, Boolean) |
Encodes the supplied UTF-8 text. (Inherited from TextEncoder) |
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| FindFirstCharacterToEncode(Char*, Int32) | |
| FindFirstCharacterToEncodeUtf8(ReadOnlySpan<Byte>) |
Finds the first element in a UTF-8 text input buffer that would be escaped by the current encoder instance. (Inherited from TextEncoder) |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |
| TryEncodeUnicodeScalar(Int32, Char*, Int32, Int32) | |
| WillEncode(Int32) | |