I would like to serialize a void[]. I get Error: expression value[i] is void and has no value when trying.
I imagine this is easy to overcome since the void[] is a series of bytes. It is a very large array(audio), so I'm curious if it can be done and be done using binary to avoid bloat? While I might be able to hack it myself, it might be nice if you could add it so it would be done right. Even if it simply serialized it to a binary file and use a link in the serialized output(might be more work). I realize that the binary inside an xml text file might be considered a bad idea but in my cause it wouldn't matter. I need binary. I am using xml so I'm not sure if it will even work so you might simply have to save it to a file then make a reference in the xml to that file and load it on serialization. Maybe use a special attribute to tell it to serialize to a file or something similar.
Thanks.
I would like to serialize a void[]. I get
Error: expression value[i] is void and has no valuewhen trying.I imagine this is easy to overcome since the void[] is a series of bytes. It is a very large array(audio), so I'm curious if it can be done and be done using binary to avoid bloat? While I might be able to hack it myself, it might be nice if you could add it so it would be done right. Even if it simply serialized it to a binary file and use a link in the serialized output(might be more work). I realize that the binary inside an xml text file might be considered a bad idea but in my cause it wouldn't matter. I need binary. I am using xml so I'm not sure if it will even work so you might simply have to save it to a file then make a reference in the xml to that file and load it on serialization. Maybe use a special attribute to tell it to serialize to a file or something similar.
Thanks.