Author Archives: Adrian

Making XMLEncoder do something sensible with binary data

By default, XMLEncoder encodes byte arrays like any other array: <array class=”byte” length=”8″> <void index=”0″> <byte>115</byte> </void> <void index=”1″> <byte>111</byte> </void> … </array> Repeat for every byte. This is bad. A reasonable solution would be to store the whole byte array … Continue reading

Posted in Uncategorized | 1 Comment