Does the byte[] array size reflects the same size of bytes to be transmitted if I need to transmit the file via a webservice?
E.G:
byte[] testarray = new byte[100000]
means that its size if transmitted will be approx 100,000 bytes (100kB)?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Without much detail, the answer is yes.
testarrayis a byte buffer of 100000 count. That is 100000/1024 = 97.6 KiB (damn you kB v. KiB SI standards)