CoreWebView2SharedBuffer Class

Implements: IClosable

A shared memory based buffer object that is created by CoreWebView2Environment.CreateSharedBuffer.

Summary

Members Description
Buffer Returns an IMemoryBufferReference object to access the underlying memory of the shared buffer as an array of bytes.
Size The size of the shared buffer in bytes.
Close
OpenStream Get an stream object that can be used to access the shared buffer.

Properties

Buffer

readonly IMemoryBufferReference Buffer

Returns an IMemoryBufferReference object to access the underlying memory of the shared buffer as an array of bytes.

Size

readonly uint64_t Size

The size of the shared buffer in bytes.

Methods

Close

void Close()

OpenStream

IRandomAccessStream OpenStream()

Get an stream object that can be used to access the shared buffer.

Referenced by