mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-03-22 00:18:18 +05:00
this is done now to reduce the migration burden in the future when this is made into a nuget package (hopefully)
12 lines
328 B
C#
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;
|
|
} |