Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public unsafe void Set(int positionInBytes, IntPtr source, long count)
 {
     Utilities.CopyMemory((IntPtr)((void *)(this._buffer + positionInBytes)), source, (int)count);
 }