System.IO.UnmanagedMemoryAccessor.UnmanagedMemoryAccessor C# (CSharp) Méthode

UnmanagedMemoryAccessor() public méthode

public UnmanagedMemoryAccessor ( SafeBuffer buffer, long offset, long capacity, FileAccess access ) : System
buffer SafeBuffer
offset long
capacity long
access FileAccess
Résultat System
		public UnmanagedMemoryAccessor (SafeBuffer buffer, long offset, long capacity, FileAccess access) {
			if (buffer == null)
				throw new ArgumentNullException ("buffer");
			if (offset < 0)
				throw new ArgumentOutOfRangeException ("offset");
			if (capacity < 0)
				throw new ArgumentOutOfRangeException ("capacity");
			if (offset + capacity < 0)
				throw new InvalidOperationException ();
			this.buffer = buffer;
			this.offset = offset;
			this.capacity = capacity;
			this.access = access;
		}

Same methods

UnmanagedMemoryAccessor::UnmanagedMemoryAccessor ( ) : System
UnmanagedMemoryAccessor::UnmanagedMemoryAccessor ( SafeBuffer buffer, long offset, long capacity ) : System
UnmanagedMemoryAccessor