I have a class structure which represents (internally) the data I wish to output to a file.
Some of the member variables are private to the data class so that it ca
You would make it a method on DataClass and pass in the stream.