Closed mdbs99 closed 7 years ago
How would signature for IDataPack?
Initially, we will need a Stream
method that returns a DataStream
. That is the result.
This entity represents a data pack, but could be any format (XML, JSON, INI, etc). Thus, we will have a class for each one.
Then, I'm thinking to use some other methods to manipulate data like the example above. But these methods needs to be more generic as possible to work in all formats.
This project here could be an inspiration.
This issue will be fix using my new project called Xavier. Follow this https://github.com/mdbs99/james/issues/65#issuecomment-330058296 for more info.
This new interface
IDataPack
will represent any kind of data package. The first implementation will for XML using a newTXmlPack
class.The methods and its usage may be like this: