IMemory.cs 828 B

12345678910111213141516171819202122232425262728293031323334353637
  1. namespace ChocolArm64.Memory
  2. {
  3. public interface IMemory
  4. {
  5. sbyte ReadSByte(long position);
  6. short ReadInt16(long position);
  7. int ReadInt32(long position);
  8. long ReadInt64(long position);
  9. byte ReadByte(long position);
  10. ushort ReadUInt16(long position);
  11. uint ReadUInt32(long position);
  12. ulong ReadUInt64(long position);
  13. void WriteSByte(long position, sbyte value);
  14. void WriteInt16(long position, short value);
  15. void WriteInt32(long position, int value);
  16. void WriteInt64(long position, long value);
  17. void WriteByte(long position, byte value);
  18. void WriteUInt16(long position, ushort value);
  19. void WriteUInt32(long position, uint value);
  20. void WriteUInt64(long position, ulong value);
  21. }
  22. }