public override void Close() { Flush(); storageDirection = StorageDirection.None; base.Close(); }
public BlockStream(IBlockStorage storage, StorageDirection storageDirection) { this.storage = storage; this.storageDirection = storageDirection; }