<p>In the documentation of hardware that allows us to control it via UDP/IP,
I found the following fragment:</p>

<blockquote>
  <p>In this communication protocol, DWORD is a 4 bytes data, WORD is a 2 bytes data,
  BYTE is a single byte data. The storage format is little endian, namely 4 bytes (32bits) data is stored as: d7-d0, d15-d8, d23-d16, d31-d24; double bytes (16bits) data is stored as: d7-d0 , d15-d8.</p>
</blockquote>

<p>I am wondering how this translates to C#?
Do I have to convert stuff before sending it over?
For example, if I want to send over a 32 bit integer, or a 4 character string?</p>

Re little-endian, the short answer (to do I need to do anything) is "probably not, but it depends on your hardware". You can check with:
```
```
bool le = BitConverter.IsLittleEndian;
```
```
Depending on what this says, you might want to reverse portions of your buffers. Alternatively, Jon Skeet has specific-endian converters
here
(look for EndianBitConverter).
Note that itaniums (for example) are big-endian. Most Intels are little-endian.
Re the specific UDP/IP...?