UtilSharedMemoryWriteString(MemoryMappedFile, String, Encoding) Method
Writes a String at the start 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 WriteString(
MemoryMappedFile mmf,
string str,
Encoding enc = null
)
Public Shared Sub WriteString (
mmf As MemoryMappedFile,
str As String,
Optional enc As Encoding = Nothing
)
Dim mmf As MemoryMappedFile
Dim str As String
Dim enc As Encoding
UtilSharedMemory.WriteString(mmf, str, enc)
public:
static void WriteString(
MemoryMappedFile^ mmf,
String^ str,
Encoding^ enc = nullptr
)
static member WriteString :
mmf : MemoryMappedFile *
str : string *
?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.
- 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.WriteString(mmf, "Hello World!", 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.