System.IO.UnmanagedMemoryAccessor Members

The members of System.IO.UnmanagedMemoryAccessor are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.IO.UnmanagedMemoryAccessor class with a specified buffer, offset, and capacity.

Initializes a new instance of the System.IO.UnmanagedMemoryAccessor class with a specified buffer, offset, capacity, and access right.

Protected Constructors

Initializes a new instance of the System.IO.UnmanagedMemoryAccessor class.

Public Properties

[read-only]
CanReadbool.

Determines whether the accessor is readable.

[read-only]
CanWritebool.

Determines whether the accessory is writable.

[read-only]
Capacitylong.

Gets the capacity of the accessor.

Protected Properties

[read-only]
IsOpenbool.

Determines whether the accessor is currently open by a process.

Public Methods

Dispose()

Releases all resources used by the System.IO.UnmanagedMemoryAccessor.

Read<T>(long, out T)
Documentation for this section has not yet been entered.
ReadArray<T>(long, T[], int, int) : int
Documentation for this section has not yet been entered.
ReadBoolean(long) : bool

Reads a Boolean value from the accessor.

ReadByte(long) : byte

Reads a byte value from the accessor.

ReadChar(long) : char

Reads a character from the accessor.

ReadDecimal(long) : decimal

Reads a decimal value from the accessor.

ReadDouble(long) : double

Reads a double-precision floating-point value from the accessor.

ReadInt16(long) : short

Reads a 16-bit integer from the accessor.

ReadInt32(long) : int

Reads a 32-bit integer from the accessor.

ReadInt64(long) : long

Reads a 64-bit integer from the accessor.

ReadSByte(long) : sbyte

Reads an 8-bit signed integer from the accessor.

ReadSingle(long) : float

Reads a single-precision floating-point value from the accessor.

ReadUInt16(long) : ushort

Reads an unsigned 16-bit integer from the accessor.

ReadUInt32(long) : uint

Reads an unsigned 32-bit integer from the accessor.

ReadUInt64(long) : ulong

Reads an unsigned 64-bit integer from the accessor.

Write(long, bool)

Writes a Boolean value into the accessor.

Write(long, byte)

Writes a byte value into the accessor.

Write(long, char)

Writes a character into the accessor.

Write(long, decimal)

Writes a decimal value into the accessor.

Write(long, double)

Writes a Double value into the accessor.

Write(long, short)

Writes a 16-bit integer into the accessor.

Write(long, int)

Writes a 32-bit integer into the accessor.

Write(long, long)

Writes a 64-bit integer into the accessor.

Write(long, sbyte)

Writes an 8-bit integer into the accessor.

Write(long, float)

Writes a Single into the accessor.

Write(long, ushort)

Writes an unsigned 16-bit integer into the accessor.

Write(long, uint)

Writes an unsigned 32-bit integer into the accessor.

Write(long, ulong)

Writes an unsigned 64-bit integer into the accessor.

Write<T>(long, ref T)
Documentation for this section has not yet been entered.
WriteArray<T>(long, T[], int, int)
Documentation for this section has not yet been entered.

Protected Methods

Dispose(bool)

Releases the unmanaged resources used by the System.IO.UnmanagedMemoryAccessor and optionally releases the managed resources.

Initialize(System.Runtime.InteropServices.SafeBuffer, long, long, FileAccess)

Sets the initial values for the accessor.