how modify binary information strings behind java?
i have binary information record i review byte array slight problem. i need send tools information over network tie elements an xml document. problem i modify information an array bytes twine behind an array bytes, information removing corrupted. i've tested accessory assail problem twine conversion, i know isn't removing depraved xml parser network transport.
what i've got right is
byte[] aegis = ...; // review file
// few lines infer i slight information successfully
string component = new string(buffer);
byte[] newbuffer = element.getbytes();
// few lines try slight newbuffer destroy since same information anymore
does anyone know modify binary twine behind but information loss?
answered: interjection sam. i feel an idiot. i answered yesterday since sax parser complaining. reason i ran clearly removed issue, didn't start me new pointer same problem.
edit: only effect completeness, i used base64 category apache commons codec package solve problem.
Comments
Post a Comment