public static void ReadCheck(ref UdpBitStream bitStream, string tag) { val = bitStream.ReadByte(TEST_BITS_SIZE); if (val != TEST_VAL) { UnityEngine.Debug.LogError("INTEGRITY FAIL " + tag + " " + Utilities.BitUtilities.BitTools.PrintBitMask(val)); } }