-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
AssemblyVersion changeRequires assembly version change for WinRT.RuntimeRequires assembly version change for WinRT.RuntimeenhancementNew feature or requestNew feature or requestperformanceRelated to performance workRelated to performance workquestionFurther information is requestedFurther information is requested
Milestone
Description
Hi all,
I'm creating an API with IDL 3 that has the following signature (or a similar one):
void Process(UInt8[] value);
With C++/WinRT (2.0.210403.2) I have a nice array_view API:
void Process(array_view<uint8_t> value);
This allows to support many data types with no overhead.
With C#/WinRT (1.2.5) I have an Array API:
void Process(byte[] value);
This version does not allow us to pass Memory<byte> or Span<byte> that we use in other parts of our application. We may need to create a somewhat useless temporary array.
Do you have plan for Memory<T> and Span<T> support instead of T[]?
Regards,
Guillaume
fitdev, yoshiask, assumenothing, andriysavin and mmarczell-graphisoft
Metadata
Metadata
Assignees
Labels
AssemblyVersion changeRequires assembly version change for WinRT.RuntimeRequires assembly version change for WinRT.RuntimeenhancementNew feature or requestNew feature or requestperformanceRelated to performance workRelated to performance workquestionFurther information is requestedFurther information is requested