<div dir="ltr"><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px">IMO, it has unclear representation when FixedWidthInteger working with endianness specific type.<br></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px">so I want to introduce the endianness specific wrapper:</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(186,45,162)">public</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">struct</span><span style="color:rgb(0,0,0)"> BEInteger&lt;Base : </span>FixedWidthInteger<span style="color:rgb(0,0,0)">&gt; : </span>FixedWidthInteger<span style="color:rgb(0,0,0)"> {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> bigEndian: <span style="color:rgb(79,129,135)">BEInteger</span> { <span style="color:rgb(186,45,162)">get </span>}</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> littleEndian: <span style="color:rgb(79,129,135)">LEInteger&lt;Base&gt;</span> { <span style="color:rgb(186,45,162)">get </span>}</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(186,45,162)">public</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">struct</span><span style="color:rgb(0,0,0)"> LEInteger&lt;Base : </span>FixedWidthInteger<span style="color:rgb(0,0,0)">&gt; : </span>FixedWidthInteger<span style="color:rgb(0,0,0)"> {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> bigEndian: <span style="color:rgb(79,129,135)">BEInteger&lt;Base&gt;</span> { <span style="color:rgb(186,45,162)">get </span>}</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> littleEndian: <span style="color:rgb(79,129,135)">LEInteger</span> { <span style="color:rgb(186,45,162)">get </span>}</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">also, we should change the <span style="color:rgb(112,61,170)">FixedWidthInteger</span> as follow:</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">protocol</span> FixedWidthInteger : <span style="color:rgb(112,61,170)">BinaryInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)">    </span>/// deprecated, we should use value.bigEndian instead</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">init</span>(bigEndian value: <span style="color:rgb(112,61,170)">Self</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,132,0)"><span style="color:rgb(0,0,0)">    </span>/// deprecated, we should use value.littleEndian instead</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">init</span>(littleEndian value: <span style="color:rgb(112,61,170)">Self</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">associatedtype</span> EndianRepresentingValue : <span style="color:rgb(79,129,135)">FixedWidthInteger</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(186,45,162)">var</span><span style="color:rgb(0,0,0)"> bigEndian: </span>BEInteger<span style="color:rgb(0,0,0)">&lt;</span>EndianRepresentingValue<span style="color:rgb(0,0,0)">&gt; { </span><span style="color:rgb(186,45,162)">get</span><span style="color:rgb(0,0,0)"> }</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(186,45,162)">var</span><span style="color:rgb(0,0,0)"> littleEndian: </span>LEInteger<span style="color:rgb(0,0,0)">&lt;</span>EndianRepresentingValue<span style="color:rgb(0,0,0)">&gt; { </span><span style="color:rgb(186,45,162)">get</span><span style="color:rgb(0,0,0)"> }</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">













</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><div><br></div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">=============================</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">this is my working alternative implementation:</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)">@_versioned</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="color:rgb(186,45,162)">protocol</span> EndianInteger : <span style="color:rgb(112,61,170)">FixedWidthInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">associatedtype</span> BitPattern : <span style="color:rgb(112,61,170)">FixedWidthInteger</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">associatedtype</span> RepresentingValue : <span style="color:rgb(112,61,170)">FixedWidthInteger</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">var</span> bitPattern: <span style="color:rgb(112,61,170)">BitPattern</span> { <span style="color:rgb(186,45,162)">get</span> }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">init</span>(bitPattern: <span style="color:rgb(112,61,170)">BitPattern</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">var</span> representingValue : <span style="color:rgb(112,61,170)">RepresentingValue</span> { <span style="color:rgb(186,45,162)">get</span> <span style="color:rgb(186,45,162)">set</span> }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">init</span>(representingValue: <span style="color:rgb(112,61,170)">RepresentingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(186,45,162)">extension</span><span style="color:rgb(0,0,0)"> </span>EndianInteger<span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(186,45,162)">public</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">init</span><span style="color:rgb(0,0,0)">(integerLiteral value: </span>RepresentingValue<span style="color:rgb(0,0,0)">.</span>IntegerLiteralType<span style="color:rgb(0,0,0)">) {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: RepresentingValue(integerLiteral: value))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>?&lt;T&gt;(exactly source: <span style="color:rgb(79,129,135)">T</span>) <span style="color:rgb(186,45,162)">where</span> <span style="color:rgb(79,129,135)">T</span> : <span style="color:rgb(112,61,170)">BinaryInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">guard</span> <span style="color:rgb(186,45,162)">let</span> value = RepresentingValue(exactly: source) <span style="color:rgb(186,45,162)">else</span> { <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">nil</span> }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: value)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>?&lt;T&gt;(exactly source: <span style="color:rgb(79,129,135)">T</span>) <span style="color:rgb(186,45,162)">where</span> <span style="color:rgb(79,129,135)">T</span> : <span style="color:rgb(112,61,170)">FloatingPoint</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">guard</span> <span style="color:rgb(186,45,162)">let</span> value = RepresentingValue(exactly: source) <span style="color:rgb(186,45,162)">else</span> { <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">nil</span> }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: value)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(186,45,162)">public</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">init</span><span style="color:rgb(0,0,0)">(</span><span style="color:rgb(186,45,162)">_</span><span style="color:rgb(0,0,0)"> value: </span>RepresentingValue<span style="color:rgb(0,0,0)">) {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: value)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>&lt;T&gt;(<span style="color:rgb(186,45,162)">_</span> source: <span style="color:rgb(79,129,135)">T</span>) <span style="color:rgb(186,45,162)">where</span> <span style="color:rgb(79,129,135)">T</span> : <span style="color:rgb(112,61,170)">FloatingPoint</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: RepresentingValue(source))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>&lt;T&gt;(<span style="color:rgb(186,45,162)">_</span> source: <span style="color:rgb(79,129,135)">T</span>) <span style="color:rgb(186,45,162)">where</span> <span style="color:rgb(79,129,135)">T</span> : <span style="color:rgb(112,61,170)">BinaryInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: RepresentingValue(source))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>&lt;T&gt;(extendingOrTruncating source: <span style="color:rgb(79,129,135)">T</span>) <span style="color:rgb(186,45,162)">where</span> <span style="color:rgb(79,129,135)">T</span> : <span style="color:rgb(112,61,170)">BinaryInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: RepresentingValue(extendingOrTruncating: source))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>&lt;T&gt;(clamping source: <span style="color:rgb(79,129,135)">T</span>) <span style="color:rgb(186,45,162)">where</span> <span style="color:rgb(79,129,135)">T</span> : <span style="color:rgb(112,61,170)">BinaryInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: RepresentingValue(clamping: source))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>(_truncatingBits bits: <span style="color:rgb(112,61,170)">UInt</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(186,45,162)">init</span>(representingValue: RepresentingValue(_truncatingBits: bits))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(186,45,162)">extension</span><span style="color:rgb(0,0,0)"> </span>EndianInteger<span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">var</span> isSigned: <span style="color:rgb(112,61,170)">Bool</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> RepresentingValue.<span style="color:rgb(112,61,170)">isSigned</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">var</span> bitWidth: <span style="color:rgb(112,61,170)">Int</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> RepresentingValue.<span style="color:rgb(112,61,170)">bitWidth</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>public<span style="color:rgb(0,0,0)"> </span>static<span style="color:rgb(0,0,0)"> </span>var<span style="color:rgb(0,0,0)"> max: </span><span style="color:rgb(79,129,135)">Self</span><span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: RepresentingValue.<span style="color:rgb(112,61,170)">max</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>public<span style="color:rgb(0,0,0)"> </span>static<span style="color:rgb(0,0,0)"> </span>var<span style="color:rgb(0,0,0)"> min: </span><span style="color:rgb(79,129,135)">Self</span><span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: RepresentingValue.<span style="color:rgb(112,61,170)">min</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(186,45,162)">extension</span><span style="color:rgb(0,0,0)"> </span>EndianInteger<span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> hashValue: <span style="color:rgb(112,61,170)">Int</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span>representingValue<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(112,61,170)">hashValue</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> description: <span style="color:rgb(112,61,170)">String</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span>representingValue<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(112,61,170)">description</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> bitWidth: <span style="color:rgb(112,61,170)">Int</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span>representingValue<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(112,61,170)">bitWidth</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(186,45,162)">public</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">var</span><span style="color:rgb(0,0,0)"> magnitude: </span>RepresentingValue<span style="color:rgb(0,0,0)">.</span>Magnitude<span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span>representingValue<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(112,61,170)">magnitude</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> trailingZeroBitCount: <span style="color:rgb(112,61,170)">Int</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(79,129,135)">representingValue</span><span style="color:rgb(0,0,0)">.</span>trailingZeroBitCount</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> nonzeroBitCount: <span style="color:rgb(112,61,170)">Int</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span>representingValue<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(112,61,170)">nonzeroBitCount</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> leadingZeroBitCount: <span style="color:rgb(112,61,170)">Int</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(79,129,135)">representingValue</span><span style="color:rgb(0,0,0)">.</span>leadingZeroBitCount</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> byteSwapped: <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(112,61,170)">byteSwapped</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(186,45,162)">extension</span><span style="color:rgb(0,0,0)"> </span>EndianInteger<span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> _word(at n: <span style="color:rgb(112,61,170)">Int</span>) -&gt; <span style="color:rgb(112,61,170)">UInt</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span>representingValue<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(62,30,129)">_word</span><span style="color:rgb(0,0,0)">(at: n)</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> distance(to other: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(112,61,170)">RepresentingValue</span>.<span style="color:rgb(112,61,170)">Stride</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">self</span><span style="color:rgb(0,0,0)">.</span>representingValue<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(62,30,129)">distance</span><span style="color:rgb(0,0,0)">(to: other.</span>representingValue<span style="color:rgb(0,0,0)">)</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> advanced(by n: <span style="color:rgb(112,61,170)">RepresentingValue</span>.<span style="color:rgb(112,61,170)">Stride</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">advanced</span>(by: n))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> addingReportingOverflow(<span style="color:rgb(186,45,162)">_</span> rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; (partialValue: <span style="color:rgb(79,129,135)">Self</span>, overflow: <span style="color:rgb(112,61,170)">ArithmeticOverflow</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">let</span> (partialValue, overflow) = <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">addingReportingOverflow</span>(rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> (<span style="color:rgb(186,45,162)">Self</span>(representingValue: partialValue), overflow)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> subtractingReportingOverflow(<span style="color:rgb(186,45,162)">_</span> rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; (partialValue: <span style="color:rgb(79,129,135)">Self</span>, overflow: <span style="color:rgb(112,61,170)">ArithmeticOverflow</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">let</span> (partialValue, overflow) = <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">subtractingReportingOverflow</span>(rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> (<span style="color:rgb(186,45,162)">Self</span>(representingValue: partialValue), overflow)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> multipliedReportingOverflow(by rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; (partialValue: <span style="color:rgb(79,129,135)">Self</span>, overflow: <span style="color:rgb(112,61,170)">ArithmeticOverflow</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">let</span> (partialValue, overflow) = <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">multipliedReportingOverflow</span>(by: rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> (<span style="color:rgb(186,45,162)">Self</span>(representingValue: partialValue), overflow)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> dividedReportingOverflow(by rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; (partialValue: <span style="color:rgb(79,129,135)">Self</span>, overflow: <span style="color:rgb(112,61,170)">ArithmeticOverflow</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">let</span> (partialValue, overflow) = <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">dividedReportingOverflow</span>(by: rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> (<span style="color:rgb(186,45,162)">Self</span>(representingValue: partialValue), overflow)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> remainderReportingOverflow(dividingBy rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; (partialValue: <span style="color:rgb(79,129,135)">Self</span>, overflow: <span style="color:rgb(112,61,170)">ArithmeticOverflow</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">let</span> (partialValue, overflow) = <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">remainderReportingOverflow</span>(dividingBy: rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> (<span style="color:rgb(186,45,162)">Self</span>(representingValue: partialValue), overflow)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> multipliedFullWidth(by other: <span style="color:rgb(79,129,135)">Self</span>) -&gt; (high: <span style="color:rgb(79,129,135)">Self</span>, low: <span style="color:rgb(112,61,170)">RepresentingValue</span>.<span style="color:rgb(112,61,170)">Magnitude</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">let</span> (high, low) = <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">multipliedFullWidth</span>(by: other.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> (<span style="color:rgb(186,45,162)">Self</span>(representingValue: high), low)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">func</span> dividingFullWidth(<span style="color:rgb(186,45,162)">_</span> dividend: (high: <span style="color:rgb(79,129,135)">Self</span>, low: <span style="color:rgb(112,61,170)">RepresentingValue</span>.<span style="color:rgb(112,61,170)">Magnitude</span>)) -&gt; (quotient: <span style="color:rgb(79,129,135)">Self</span>, remainder: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">let</span> (quotient, remainder) = <span style="color:rgb(79,129,135)">representingValue</span>.<span style="color:rgb(62,30,129)">dividingFullWidth</span>((dividend.high.<span style="color:rgb(79,129,135)">representingValue</span>, dividend.low))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> (<span style="color:rgb(186,45,162)">Self</span>(representingValue: quotient), <span style="color:rgb(186,45,162)">Self</span>(representingValue: remainder))</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(186,45,162)">extension</span><span style="color:rgb(0,0,0)"> </span>EndianInteger<span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>public<span style="color:rgb(0,0,0)"> </span>static<span style="color:rgb(0,0,0)"> </span>prefix<span style="color:rgb(0,0,0)"> </span>func<span style="color:rgb(0,0,0)"> +(x: </span><span style="color:rgb(79,129,135)">Self</span><span style="color:rgb(0,0,0)">) -&gt; </span><span style="color:rgb(79,129,135)">Self</span><span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> x</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> +(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> + rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> +=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> += rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> -(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> - rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> -=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> -= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> *(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> * rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> *=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> *= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> /(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> / rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> /=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> /= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> %(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> % rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> %=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> %= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &amp;(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> &amp; rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &amp;=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> &amp;= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> |(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> | rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> |=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> |= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> ^(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> ^ rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> ^=(lhs: <span style="color:rgb(186,45,162)">inout</span> <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        lhs.</span>representingValue<span style="color:rgb(0,0,0)"> ^= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>prefix<span style="color:rgb(0,0,0)"> </span>public<span style="color:rgb(0,0,0)"> </span>static<span style="color:rgb(0,0,0)"> </span>func<span style="color:rgb(0,0,0)"> ~(x: </span><span style="color:rgb(79,129,135)">Self</span><span style="color:rgb(0,0,0)">) -&gt; </span><span style="color:rgb(79,129,135)">Self</span><span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: ~x.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &amp;&gt;&gt;(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> &amp;&gt;&gt; rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &amp;&lt;&lt;(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(79,129,135)">Self</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(186,45,162)">Self</span>(representingValue: lhs.<span style="color:rgb(79,129,135)">representingValue</span> &amp;&lt;&lt; rhs.<span style="color:rgb(79,129,135)">representingValue</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> ==(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(112,61,170)">Bool</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> lhs.<span style="color:rgb(79,129,135)">bitPattern</span> == rhs.<span style="color:rgb(79,129,135)">bitPattern</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> !=(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(112,61,170)">Bool</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> lhs.<span style="color:rgb(79,129,135)">bitPattern</span> != rhs.<span style="color:rgb(79,129,135)">bitPattern</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &gt;(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(112,61,170)">Bool</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> lhs.</span>representingValue<span style="color:rgb(0,0,0)"> &gt; rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &lt;(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(112,61,170)">Bool</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> lhs.</span>representingValue<span style="color:rgb(0,0,0)"> &lt; rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &gt;=(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(112,61,170)">Bool</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> lhs.</span>representingValue<span style="color:rgb(0,0,0)"> &gt;= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">static</span> <span style="color:rgb(186,45,162)">func</span> &lt;=(lhs: <span style="color:rgb(79,129,135)">Self</span>, rhs: <span style="color:rgb(79,129,135)">Self</span>) -&gt; <span style="color:rgb(112,61,170)">Bool</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">return</span><span style="color:rgb(0,0,0)"> lhs.</span>representingValue<span style="color:rgb(0,0,0)"> &lt;= rhs.</span>representingValue</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(186,45,162)">public</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">struct</span><span style="color:rgb(0,0,0)"> BEInteger&lt;Base : </span>FixedWidthInteger<span style="color:rgb(0,0,0)">&gt; : </span>FixedWidthInteger<span style="color:rgb(0,0,0)">, </span><span style="color:rgb(79,129,135)">EndianInteger</span><span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> bitPattern: <span style="color:rgb(79,129,135)">Base</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>(bitPattern: <span style="color:rgb(79,129,135)">Base</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(79,129,135)">bitPattern</span> = bitPattern</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_versioned</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">init</span>(representingValue: <span style="color:rgb(79,129,135)">Base</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(79,129,135)">bitPattern</span> = representingValue.<span style="color:rgb(112,61,170)">bigEndian</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_versioned</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">var</span> representingValue: <span style="color:rgb(79,129,135)">Base</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">get</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">            <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(79,129,135)">Base</span>(bigEndian: <span style="color:rgb(79,129,135)">bitPattern</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">set</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">            <span style="color:rgb(79,129,135)">bitPattern</span> = newValue.<span style="color:rgb(112,61,170)">bigEndian</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>(bigEndian value: <span style="color:rgb(79,129,135)">BEInteger</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">self</span><span style="color:rgb(0,0,0)">.</span>bitPattern<span style="color:rgb(0,0,0)"> = value.</span>bitPattern</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>(littleEndian value: <span style="color:rgb(79,129,135)">BEInteger</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">self</span><span style="color:rgb(0,0,0)">.</span>bitPattern<span style="color:rgb(0,0,0)"> = value.</span>bitPattern<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(112,61,170)">byteSwapped</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> bigEndian: <span style="color:rgb(79,129,135)">BEInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">        </span>return<span style="color:rgb(0,0,0)"> </span>self</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> littleEndian: <span style="color:rgb(79,129,135)">BEInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(79,129,135)">BEInteger</span>(littleEndian: <span style="color:rgb(186,45,162)">self</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;min-height:14px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:rgb(186,45,162)">public</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(186,45,162)">struct</span><span style="color:rgb(0,0,0)"> LEInteger&lt;Base : </span>FixedWidthInteger<span style="color:rgb(0,0,0)">&gt; : </span>FixedWidthInteger<span style="color:rgb(0,0,0)">, </span><span style="color:rgb(79,129,135)">EndianInteger</span><span style="color:rgb(0,0,0)"> {</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> bitPattern: <span style="color:rgb(79,129,135)">Base</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>(bitPattern: <span style="color:rgb(79,129,135)">Base</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(79,129,135)">bitPattern</span> = bitPattern</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_versioned</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">init</span>(representingValue: <span style="color:rgb(79,129,135)">Base</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">self</span>.<span style="color:rgb(79,129,135)">bitPattern</span> = representingValue.<span style="color:rgb(112,61,170)">littleEndian</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_versioned</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">var</span> representingValue: <span style="color:rgb(79,129,135)">Base</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">get</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">            <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(79,129,135)">Base</span>(littleEndian: <span style="color:rgb(79,129,135)">bitPattern</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">set</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">            <span style="color:rgb(79,129,135)">bitPattern</span> = newValue.<span style="color:rgb(112,61,170)">littleEndian</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>(bigEndian value: <span style="color:rgb(79,129,135)">LEInteger</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">self</span><span style="color:rgb(0,0,0)">.</span>bitPattern<span style="color:rgb(0,0,0)"> = value.</span>bitPattern<span style="color:rgb(0,0,0)">.</span><span style="color:rgb(112,61,170)">byteSwapped</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">init</span>(littleEndian value: <span style="color:rgb(79,129,135)">LEInteger</span>) {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(79,129,135)"><span style="color:rgb(0,0,0)">        </span><span style="color:rgb(186,45,162)">self</span><span style="color:rgb(0,0,0)">.</span>bitPattern<span style="color:rgb(0,0,0)"> = value.</span>bitPattern</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> bigEndian: <span style="color:rgb(79,129,135)">LEInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">        <span style="color:rgb(186,45,162)">return</span> <span style="color:rgb(79,129,135)">LEInteger</span>(bigEndian: <span style="color:rgb(186,45,162)">self</span>)</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">    </p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">    </span>@_transparent</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    <span style="color:rgb(186,45,162)">public</span> <span style="color:rgb(186,45,162)">var</span> littleEndian: <span style="color:rgb(79,129,135)">LEInteger</span> {</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(186,45,162)"><span style="color:rgb(0,0,0)">        </span>return<span style="color:rgb(0,0,0)"> </span>self</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">    }</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">

































































































































































































































































































































































































































</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">}</p></div>