private bool isValidLength(int length, int id)
{
int idstrip = id / 256;
if ((idstrip & 0xF0) == 0xE0)
//if (idstrip == 0xEB /*|| idstrip == 0xDE*/)
{
if (length > 0 && length <= 32) return true;
}
else
{
if (length > 0 && length < 32) return true;
}
return false;
}