Example #1
0
 private uint[] ParseUInt4(int aLength)
 {
     uint[] result;
     try
     {
         byte[] aBytes = new byte[aLength];
         Array.Copy(this.mDataItem, this.mReadIndex, aBytes, 0, aBytes.Length);
         this.mReadIndex += aLength;
         result           = Byte2SecsValue.GetU4(aBytes);
     }
     catch (Exception)
     {
         result = null;
     }
     return(result);
 }
Example #2
0
 internal static long GetLong(byte[] aBytes)
 {
     return((long)((ulong)Byte2SecsValue.GetU4(aBytes)[0]));
 }