sending byte array from vb.net to j#

A

Asaf Seri

Hello



I have j# project that is transferring files with Ftp.

The upload method is receiving the uploaded file as byte array.

I’m trying to use the upload method from another project, vb.net project,
but I can not send byte array because the byte in j# in sign and in vb.net
is unsigned meaning different types.

In c# I’m using sbyte array, and it is working well. In vb.net there is no
sbyte.

Does someone have any idea how can I read file in vb.net and convert it to
signed byte array (compatible to java byte)?



Thanks

Asaf
 
S

SStory

Not sure but looks like you can declare variable as System.Sbyte in Vb.

dim x as System.Sbyte.

HTH,

Shane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top