1
0

Initial sync

This commit is contained in:
2024-03-15 14:44:21 +01:00
commit d2a1cabe35
59 changed files with 3783 additions and 0 deletions

9
Test/StreamMark.cs Executable file
View File

@@ -0,0 +1,9 @@
namespace Nbt.Test;
public readonly struct StreamMark(Stream stream) : IDisposable
{
private readonly Stream _stream = stream;
private readonly long _pos = stream.Position;
public void Dispose() => _stream.Position = _pos;
}