• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Byte array manipulation

 
sajitha T P
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to read the content of a file in the server side and transfered that to the client side running j2me application. for this i used byte array. i divided the byte array into a size of 1024 bytes and transfered to the client. The client will convert each byte array to string and append to a stringbuffer.
The problem is that certain part of the strings are repeating. Can anyone tell me what is the solution.
 
Anton Lunev
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think, you just divided bytes incorrectly - be carefull with indexes in function calls.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic