AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.1" />

 ReadOnlyMemoryTextSource

Represents a fully loaded immutable text source.
public Encoding CurrentEncoding { get; set; }

public int Index { get; set; }

public char this[int index] { get; }

public int Length { get; }

public string Text { get; }

public ReadOnlyMemoryTextSource(string str)

public void Dispose()

public Task PrefetchAllAsync(CancellationToken cancellationToken)

public Task PrefetchAsync(int length, CancellationToken cancellationToken)

public char ReadCharacter()

public string ReadCharacters(int characters)

public StringOrMemory ReadMemory(int characters)

public bool TryGetContentLength(out int length)