T
tuvman
Hello,
Hello I'm writing an HTTPHandler which needs to call some code in a
managed c++ class and write binary data returned from this method to
context.Response.OutputStream. I'm using a managed c++ wrapper because
the code which generates this data is written in old style c++ and
uses malloc/lots of old style C data structures.
What is the best way to return binary data from C++ to C#. Is there
any way to avoid having to copying the data to a managed buffer?
best,
Tuviah
Hello I'm writing an HTTPHandler which needs to call some code in a
managed c++ class and write binary data returned from this method to
context.Response.OutputStream. I'm using a managed c++ wrapper because
the code which generates this data is written in old style c++ and
uses malloc/lots of old style C data structures.
What is the best way to return binary data from C++ to C#. Is there
any way to avoid having to copying the data to a managed buffer?
best,
Tuviah