public ByteArrayReader(byte[] array, EndianOrder_e endianness)
 {
     byteArray        = array;
     endianOrder      = endianness;
     systemEndianness = BitConverter.IsLittleEndian ? EndianOrder_e.little : EndianOrder_e.big;
     ba2 = new byte[2];
     ba4 = new byte[4];
     ba8 = new byte[8];
 }
 public ByteArrayWriter(int arraySize, EndianOrder_e endianness)
 {
     byteArray        = new byte[arraySize];
     endianOrder      = endianness;
     systemEndianness = BitConverter.IsLittleEndian ? EndianOrder_e.little : EndianOrder_e.big;
 }
 public ByteArrayWriter(byte[] array, EndianOrder_e endianness)
 {
     byteArray        = array;
     endianOrder      = endianness;
     systemEndianness = BitConverter.IsLittleEndian ? EndianOrder_e.little : EndianOrder_e.big;
 }