UtilSharedMemoryWriteStringAt(MemoryMappedFile, String, Int64, Encoding) Method
Writes a String 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 WriteStringAt(
MemoryMappedFile mmf,
string str,
long offset,
Encoding enc = null
)
Public Shared Sub WriteStringAt (
mmf As MemoryMappedFile,
str As String,
offset As Long,
Optional enc As Encoding = Nothing
)
Dim mmf As MemoryMappedFile
Dim str As String
Dim offset As Long
Dim enc As Encoding
UtilSharedMemory.WriteStringAt(mmf, str, offset,
enc)
public:
static void WriteStringAt(
MemoryMappedFile^ mmf,
String^ str,
long long offset,
Encoding^ enc = nullptr
)
static member WriteStringAt :
mmf : MemoryMappedFile *
str : string *
offset : int64 *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- mmf MemoryMappedFile
-
The MemoryMappedFile segment.
- str String
-
The text to write in the MemoryMappedFile segment.
- offset Int64
-
The position in the MemoryMappedFile segment to start writing from.
- enc Encoding (Optional)
-
The text Encoding.
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.WriteStringAt(mmf, "Hello World!", offset:=0, encoding:=Encoding.Default)
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.