<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Extracting an Int from a Little Endian or Big Endian Byte Array'</title>
    <description>Snipplr comments feed</description>
    <link>https://ipv6.snipplr.com/</link>
    <lastBuildDate>Wed, 22 Apr 2026 17:20:48 +0000</lastBuildDate>
    <item>
      <title>pckujawa said on 19/May/2009</title>
      <link>https://ipv6.snipplr.com/view/12050/extracting-an-int-from-a-little-endian-or-big-endian-byte-array</link>
      <description>&lt;p&gt;The System.BitConverter class offers methods to get the bytes from any number type as well as convert byte arrays into number types. Unfortunately, it doesn't seem to have the ability to work with Big Endian byte ordering, so you have to do it manually ( if (!BitConverter.IsLittleEndian) byteArray.reverse() ).&lt;/p&gt;</description>
      <pubDate>Tue, 19 May 2009 16:19:55 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/12050/extracting-an-int-from-a-little-endian-or-big-endian-byte-array</guid>
    </item>
  </channel>
</rss>
