request:generate EXI data.
class student
{
....
public byte[] ToExiData()
{
...
}
public static student FromExi(byte[] exiData)
{
...
}
}
EXI SPEC: https://www.w3.org/XML/EXI/docs/format/exi.html
Can you elaborate on the feature request?
EXI is a very compact representation for the Extensible Markup Language (XML) Information Set that is intended to simultaneously optimize performance and the utilization of computational resources. So we need an interface that:
Converts Data to Object: FromExiData(...) // Deserialization Converts Object to Data: ToExiData() // Serialization
//sender: var student=new student(); student.City="XXX"; var bytes=student.ToExiData(); TcpSend(bytes);
//receiver: var student=Student.FromExiData(recBytes); Console.WriteLine("city:{student.City}");
This seems to be a very complex format. Do you suggest to implement it from scratch inside XmlSchemaClassGenerator?
In that case I'd say it's outside of the scope of this library which is only intended to generate classes that work with XmlSerializer.
OTOH if there exist third party libraries that you can suggest, then I'd be up for adding support to interface with them.