public static uint GetSizefrom(ref byte[] data) { SwapBytes(ref data); return BitConverter.ToUInt16(data, 0); ; }