UtilSharedMemoryRead(String, Int64, Int64) Method

Reads a byte sequence from a start position to an end position of an existing MemoryMappedFile. Note that the returned bytes could contain null bytes at the end due to the automatic size rounding of a multiple of 4096 bytes (4 KB).

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static byte[] Read(
	string name,
	long starIndex,
	long endIndex
)

Parameters

name  String
The name o the MemoryMappedFile segment.
starIndex  Int64
The start position to start reading from the MemoryMappedFile segment.
endIndex  Int64
The end position to stop reading from the MemoryMappedFile segment.

Return Value

Byte
The byte sequence.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also