In C ++ / CLI, we have a function that returns this:
array<Byte>^ OutBuffer = gcnew array<Byte>(BufferSize);
IronPython views it as byte[].
In C #, we have a function that returns this:
OutBuffer = new Byte[InBuffer.Length];
While the C # client treats Outbuffer as byte[], IronPython treats it as a tuple containing multiple arrays.
How to force IronPython to treat OutBufferas byte[], rather than as a tuple?
Why is there a discrepancy between C # and C ++ / CLI?
EDIT: This question has been posed and apparently resolved, but there was no answer. Could this be fixed?
source
share