A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://dotnet.github.io/dotNext/api/DotNext.Text.DecodingContext.html below:

Struct DecodingContext | .NEXT

Struct DecodingContext

Represents text decoding context.

Namespace: DotNext.Text Assembly: DotNext.IO.dll Syntax
public readonly struct DecodingContext : ICloneable, IResettable
Constructors | Edit this page View Source DecodingContext(Encoding, bool)

Represents text decoding context.

Declaration
public DecodingContext(Encoding encoding, bool reuseDecoder)
Parameters Type Name Description Encoding encoding

The encoding to be used for converting bytes into string.

bool reuseDecoder

true to reuse the decoder between decoding operations; false to create separated encoder for each encoding operation.

Exceptions Properties | Edit this page View Source Encoding

Gets encoding associated with this context.

Declaration
public Encoding Encoding { get; }
Property Value Exceptions Methods | Edit this page View Source Copy()

Creates independent copy of this context that can be used in separated async flow or thread.

Declaration
public DecodingContext Copy()
Returns Exceptions | Edit this page View Source Reset()

Sets the encapsulated decoder to its initial state.

Declaration Exceptions Operators | Edit this page View Source implicit operator DecodingContext(Encoding)

Creates decoding context.

Declaration
public static implicit operator DecodingContext(Encoding encoding)
Parameters Type Name Description Encoding encoding

The text encoding.

Returns Exceptions Implements Extension Methods

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4