UtilSharedMemoryWriteCharAt(String, Char, Int64, Encoding) Method
Writes a character at the specified position of an existing MemoryMappedFile segment.
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 WriteCharAt(
string name,
char c,
long offset,
Encoding enc = null
)
Public Shared Sub WriteCharAt (
name As String,
c As Char,
offset As Long,
Optional enc As Encoding = Nothing
)
Dim name As String
Dim c As Char
Dim offset As Long
Dim enc As Encoding
UtilSharedMemory.WriteCharAt(name, c, offset,
enc)
public:
static void WriteCharAt(
String^ name,
wchar_t c,
long long offset,
Encoding^ enc = nullptr
)
static member WriteCharAt :
name : string *
c : char *
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
- name String
-
The name of the MemoryMappedFile segment.
- c Char
-
The character to write in the MemoryMappedFile segment.
- offset Int64
-
The position in the MemoryMappedFile segment to start writing from.
- enc Encoding (Optional)
-
The character 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("My MemoryMappedFile Name","A"c, 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.