UtilSharedMemoryWriteAt(MemoryMappedFile, Byte, Int64) Method
Writes a byte sequence at the specified position of an existing MemoryMappedFile.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void WriteAt(
MemoryMappedFile mmf,
byte[] data,
long offset
)
Public Shared Sub WriteAt (
mmf As MemoryMappedFile,
data As Byte(),
offset As Long
)
Dim mmf As MemoryMappedFile
Dim data As Byte()
Dim offset As Long
UtilSharedMemory.WriteAt(mmf, data, offset)
public:
static void WriteAt(
MemoryMappedFile^ mmf,
array<unsigned char>^ data,
long long offset
)
static member WriteAt :
mmf : MemoryMappedFile *
data : byte[] *
offset : int64 -> unit
No code example is currently available or this language may not be supported.
Parameters
- mmf MemoryMappedFile
-
The MemoryMappedFile segment.
- data Byte
-
The byte sequence to write in the MemoryMappedFile segment.
- offset Int64
-
The position in the MemoryMappedFile segment to start writing from.
This is a code example.
No code example is currently available or this language may not be supported.
Using mmf As MemoryMappedFile = SharedMemoryUtil.Create("My MemoryMappedFile Name", capacity:=4096)
SharedMemoryUtil.WriteAt(mmf, Encoding.Default.GetBytes("Hello World!"), offset:=0)
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.