Пример #1
0
 public unsafe void Write(IntPtr buffer, int offset, int count)
 {
     Utilities.CopyMemory((IntPtr)((void *)(this._buffer + this._position)), new IntPtr((void *)((IntPtr)(void *)buffer + offset)), count);
     this._position += (long)count;
 }
Пример #2
0
 public unsafe void Set(int positionInBytes, IntPtr source, long count)
 {
     Utilities.CopyMemory((IntPtr)((void *)(this._buffer + positionInBytes)), source, (int)count);
 }