Serialization of Streams (Feature / Performance)

May 10, 2014 at 10:20 AM
Hi,

As we know Stream class is not serializable, but it do not need it. I see here two options:

  1. Simpler, if input and output class is a Stream, then serialization is omitted (performance gain).
  2. More universal is to allow implement custom serializer by some interface.