<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/MTA:Eir/FileSystem/streamCompare?action=history&amp;feed=atom</id>
	<title>MTA:Eir/FileSystem/streamCompare - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/MTA:Eir/FileSystem/streamCompare?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA:Eir/FileSystem/streamCompare&amp;action=history"/>
	<updated>2026-04-21T09:39:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA:Eir/FileSystem/streamCompare&amp;diff=73516&amp;oldid=prev</id>
		<title>Quiret: Created page with &quot;__NOTOC__ This function compares the bytes of two streams for equality. The comparison starts from the current file seek and finishes at the end of the respective file stream. If the read count of either stream does not match the other, then this function fails.  ==Syntax== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool fsnamespace.streamCompare( file left, file right ) &lt;/syntaxhighlight&gt;  ==Arguments== *'''left''': first file for equality comparison *'''right''': second file for equ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA:Eir/FileSystem/streamCompare&amp;diff=73516&amp;oldid=prev"/>
		<updated>2022-01-16T23:01:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ This function compares the bytes of two streams for equality. The comparison starts from the current file seek and finishes at the end of the respective file stream. If the read count of either stream does not match the other, then this function fails.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool fsnamespace.streamCompare( file left, file right ) &amp;lt;/syntaxhighlight&amp;gt;  ==Arguments== *&amp;#039;&amp;#039;&amp;#039;left&amp;#039;&amp;#039;&amp;#039;: first file for equality comparison *&amp;#039;&amp;#039;&amp;#039;right&amp;#039;&amp;#039;&amp;#039;: second file for equ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
This function compares the bytes of two streams for equality. The comparison starts from the current file seek and finishes at the end of the respective file stream. If the read count of either stream does not match the other, then this function fails.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool fsnamespace.streamCompare( file left, file right )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
*'''left''': first file for equality comparison&lt;br /&gt;
*'''right''': second file for equality comparison&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
This function returns true if the data stream was equal, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{:MTA:Eir/FileSystem/namespace/functions}}&lt;br /&gt;
&lt;br /&gt;
{{:MTA:Eir/FileSystem/file/functions}}&lt;/div&gt;</summary>
		<author><name>Quiret</name></author>
	</entry>
</feed>