Esempio n. 1
0
 unsafe private void SetCurrentMemSeg(IntPtr memSegPtr)
 {
     _memSegPtr     = memSegPtr;
     _memSegSize    = MemorySegment.GetUsed(_memSegPtr);
     _memSegDataPtr = (byte *)(void *)MemorySegment.GetDataPtr(_memSegPtr);
 }