Example #1
0
        public void IntPackingTest()
        {
            int[] rgba = new int[] { 100, 4005, 0, -17 };

            byte[] temp = ByteUtil.IntsToBytes(rgba);

            int[] results = ByteUtil.BytesToInts(temp);

            Assert.IsNotNull(results[0] == rgba[0]);
        }