public static byte ReadAt(
MemoryMappedFile mmf,
long offset
)
Public Shared Function ReadAt (
mmf As MemoryMappedFile,
offset As Long
) As Byte
Dim mmf As MemoryMappedFile
Dim offset As Long
Dim returnValue As Byte
returnValue = UtilSharedMemory.ReadAt(mmf, offset)
public:
static unsigned char ReadAt(
MemoryMappedFile^ mmf,
long long offset
)
static member ReadAt :
mmf : MemoryMappedFile *
offset : int64 -> byte
No code example is currently available or this language may not be supported.
[Missing <param name="offset"/> documentation for "M:DevCase.Core.Diagnostics.Processes.UtilSharedMemory.ReadAt(System.IO.MemoryMappedFiles.MemoryMappedFile,System.Int64)"]
No code example is currently available or this language may not be supported.
Dim str As String = "Hello World!"
Dim result As String
Using mmf As MemoryMappedFile = SharedMemoryUtil.Create("My MemoryMappedFile Name", capacity:=4096)
SharedMemoryUtil.Write(mmf, Encoding.Default.GetBytes(str))
result = Convert.ToChar(SharedMemoryUtil.ReadAt(mmf, offset:=0))
End Using
MessageBox.Show(result)
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.