UtilSharedMemoryWriteAt(String, 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(
string name,
byte[] data,
long offset
)
Public Shared Sub WriteAt (
name As String,
data As Byte(),
offset As Long
)
Dim name As String
Dim data As Byte()
Dim offset As Long
UtilSharedMemory.WriteAt(name, data, offset)
public:
static void WriteAt(
String^ name,
array<unsigned char>^ data,
long long offset
)
static member WriteAt :
name : string *
data : byte[] *
offset : int64 -> unit
No code example is currently available or this language may not be supported.
Parameters
- name String
-
The name of 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("My MemoryMappedFile Name", 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.