A
ami
Hello,
I have problem while reading array of bytes. I have sent
array of bytes over the socket using DataOutputStream. Here is the code
for that:
byte[] ethFrame;
out.write(ethFrame, 0, ethFrame.length);
And tried to read on the other end with
in.read(bytes,offset, length);
or
in.readFully(bytes,offset, length);
but I could not print it out?
Can any one help me to read byte array ?
Please help me!!
I have problem while reading array of bytes. I have sent
array of bytes over the socket using DataOutputStream. Here is the code
for that:
byte[] ethFrame;
out.write(ethFrame, 0, ethFrame.length);
And tried to read on the other end with
in.read(bytes,offset, length);
or
in.readFully(bytes,offset, length);
but I could not print it out?
Can any one help me to read byte array ?
Please help me!!