Are Java bytes the same as c# bytes?

If the input parameter is an array of byte byte [], the native method in DLL will run in Java

Is that because byte [] in Java and c# are different things? If so, how should I use c# the native functions in?

Solution

Java is missing an unsigned type In particular, Java lacks the basic type of unsigned bytes Java byte types are signed, while c# bytes are unsigned and sbyte is signed

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>