mirror of
https://github.com/snltty/linker.git
synced 2025-10-29 11:42:10 +08:00
内网穿透测试
This commit is contained in:
@@ -60,13 +60,6 @@ namespace cmonitor.libs
|
||||
Marshal.Copy(bytes, offset, shmPtr + position, length);
|
||||
}
|
||||
}
|
||||
public unsafe void WritSpan(int position, Span<byte> span)
|
||||
{
|
||||
if (shmPtr != IntPtr.Zero)
|
||||
{
|
||||
span.CopyTo(new Span<byte>((void*)(shmPtr + position), span.Length));
|
||||
}
|
||||
}
|
||||
|
||||
public byte ReadByte(int position)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user