UtilSharedMemoryWriteCharAt(MemoryMappedFile, Char, Int64, Encoding) Method
Writes a character 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 WriteCharAt(
MemoryMappedFile mmf,
char c,
long offset,
Encoding enc = null
)
Public Shared Sub WriteCharAt (
mmf As MemoryMappedFile,
c As Char,
offset As Long,
Optional enc As Encoding = Nothing
)
Dim mmf As MemoryMappedFile
Dim c As Char
Dim offset As Long
Dim enc As Encoding
UtilSharedMemory.WriteCharAt(mmf, c, offset, enc)
public:
static void WriteCharAt(
MemoryMappedFile^ mmf,
wchar_t c,
long long offset,
Encoding^ enc = nullptr
)
static member WriteCharAt :
mmf : MemoryMappedFile *
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
- mmf MemoryMappedFile
-
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.WriteCharAt(mmf, "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.