public int PropToInt(byte[] buff) { if (buff == null || buff.Length < 4) return -1; return BitConverter.ToInt32(buff, buff.Length - 4); }