To close the stream and flush buffers use the close method.
Because of the nature of AppleSingle then after streaming (before closing) then you need to call the Finalize method and send down the desired final name for the file.
If you do not call the Close method then the close will be called for you once the object instance goes out of scope.
AppleSingleDecoderStream Class