private boolean isToRemove(byte b) { byte[] toRemoveB = { -106 }; for(byte c : toRemoveB) { if(b == c) { return true; } } return false; }
it goes without saying...