tristanlabelle / swift-winrt

A Swift Projection for WinRT APIs
MIT License
17 stars 2 forks source link

Support easy IMemoryBuffer and IBuffer interop #150

Closed tristanlabelle closed 2 months ago

tristanlabelle commented 5 months ago

WinRT IBuffer and IMemoryBuffer types should be consumable as UnsafeMutableRawPointer and there should be a way to create an IBuffer from a [UInt8] or Foundation.Data

tristanlabelle commented 5 months ago

ByteAccess interfaces were added in #151, but this likely depends on #152