 |
 |
 |
Hello,
I like the possibility to serialize integer arrays into XML attribute. It's
efficient and human readable.
Now I wish to serialize the same way a byte array. But the smart XML
seralizer serializes byte arrays using base64 encoding, which is efficient
but not human-readable. I cannot believe that there is no built-in
possibility to serialize byte arrays the same way like integer arrays. But
cannot acheive it.
Please help, thanks in advance.
Jiri
=======================
I am using MS Visual Basic 2008, .NET Framework 3.5 SP1.
Integer arrays (declared in some class) perform the way I like:
<XmlAttribute("intarr")> _
Public aiArray() As Integer = New Integer() {0, 1, 10, 255}
generates XML (fragment): intarr="0 1 10 255"
But byte arrays are serialized using base64:
<XmlAttribute("bytearr")> _
Public abArray() As Byte = New Byte() {0, 1, 10, 255}
generates XML (fragment): bytearr="AAEK/w=="
i would like to achieve: bytearr="0 1 10 255"
How to manage it?
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |