MemoryOutputStream.finalize - multiple declarations
Function MemoryOutputStream.finalize
void finalize() nothrow @safe;
Function OutputStream.finalize
Flushes and finalizes the stream.
abstract void finalize() @safe;
Finalize has to be called on certain types of streams. No writes are possible after a call to finalize().