22 lines
485 B
C#
22 lines
485 B
C#
using System;
|
|
|
|
namespace InnoPatcher;
|
|
|
|
/// <summary>
|
|
/// Serializable Inno structure.
|
|
/// </summary>
|
|
internal interface IInnoSerializable {
|
|
int StringCount { get; }
|
|
int ByteArrayCount { get; }
|
|
int PrimitiveSize { get; }
|
|
|
|
string? GetString(int idx);
|
|
void SetString(int idx, string? value);
|
|
|
|
ReadOnlySpan<byte> GetByteArray(int idx);
|
|
void SetByteArray(int idx, ReadOnlySpan<byte> value);
|
|
|
|
ReadOnlySpan<byte> GetPrimitive();
|
|
void SetPrimitive(ReadOnlySpan<byte> raw);
|
|
}
|