Files
Il2CppInspectorRedux/VersionedSerialization/IReader.cs
LukeFZ 20f90a0926 vendor in newer version of VersionedSerialization
this is done now to reduce the migration burden in the future when this is made into a nuget package (hopefully)
2026-03-13 17:34:07 +01:00

12 lines
328 B
C#

using System.Text;
namespace VersionedSerialization;
public interface IReader
{
string ReadString(int length = -1, Encoding? encoding = null);
ReadOnlySpan<byte> ReadBytes(long length);
void Read<T>(scoped Span<T> dest) where T : unmanaged;
void ReadPrimitive<T>(scoped Span<T> dest) where T : unmanaged;
}