Refactor serials

This commit is contained in:
Dan Clark
2025-02-10 10:10:16 +00:00
parent 0afe621f59
commit 18ceb512f6
27 changed files with 168 additions and 283 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
namespace Toolkit.Foundation;
public abstract class SerialReader<TRead>(Stream stream)
public abstract class SerialReader<TValue>(Stream stream)
{
public Stream Stream { get; } = stream;
public abstract IAsyncEnumerable<TRead> ReadAsync();
public abstract IAsyncEnumerable<TValue> ReadAsync();
}