how to declare a byte[] in C# so that ironpython interprets it as byte[] and not as a tuple -


In a C ++ / CLI we have a function that gives it:

  Array & lt; Byte & gt; ^ Outbuffer = GCNE array & lt; Byte & gt; (Buffer size);  

Iron Pethon it by byte [] . Regards as In C #, we have a function that gives this:

  Outbuffers = new byte [inbਫਰ. Length];  

While a C # client treats Outbuffer as a byte [] , then IronPython treats it as a tuple with multiple arrays.

How do we add IronPython to OutBuffer as a byte and not as a tuple?

Why the discrepancy between C # and C ++ / CLI?

Edit: This question opens and apparently resolves, but no answer has been given. Can it be corrected?


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -