内网穿透测试

This commit is contained in:
snltty
2024-05-09 10:58:56 +08:00
parent b997c970eb
commit a9f7da8f3c
51 changed files with 1489 additions and 3166 deletions

View File

@@ -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)
{