good way to write an array of shorts into file with LittleEndian
<p>I have a <strong>short[512x512] array</strong> need to write to a <strong>binary file</strong> with <strong>little endian</strong>. I know how to write <strong>one short</strong> to file with <strong>little endian</strong>. I think there is may be <strong>better ways</strong> than loop through the array writing <strong>one by one</strong>.</p>
