Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byte[] buffer = ...; // read from file
- // a few lines that prove I can process the data successfully
- String element = new String(buffer);
- byte[] newBuffer = element.getBytes();
- // a few lines that try to process newBuffer and fail because it is not the same data anymore
Add Comment
Please, Sign In to add comment