mirror of
				https://github.com/snltty/linker.git
				synced 2025-11-01 04:53:15 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			653 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			653 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| 
 | |
| namespace cmonitor.libs
 | |
| {
 | |
|     internal interface IShareMemory
 | |
|     {
 | |
|         public bool Init();
 | |
| 
 | |
|         public byte ReadByte(int position);
 | |
|         public void WriteByte(int position, byte value);
 | |
|         public int ReadInt(int position);
 | |
|         public void WriteInt(int position, int value);
 | |
| 
 | |
|         public long ReadInt64(int position);
 | |
|         public void WriteInt64(int position, long value);
 | |
| 
 | |
|         public void ReadArray(int position, byte[] bytes, int offset, int length);
 | |
|         public void WriteArray(int position, byte[] data, int offset, int length);
 | |
|         public void WritSpan(int position, Span<byte> span);
 | |
|     }
 | |
| }
 | 
