Passing byte array to Java

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • EdInPhoenix

    Passing byte array to Java

    I'm not sure where to post this, so I thought I'd start here.

    I need to get a .NET web service to play nice with a Java consumer. The web
    service passes back a byte array with an encrypted string. The java app needs
    to decrypt the bytes.

    The problem I think is that .net bytes can be 0-255, but Java bytes are
    -127-128. How can we get java to accept the bytes without mangling them?

    Thanks,
    Ed
Working...