public static void expectHeader(final byte actual, int expected) throws IOException { if (actual != (byte) expected) { throw MESSAGES.invalidByteToken(expected, actual); } }
public static void expectHeader(final byte actual, int expected) throws IOException { if (actual != (byte) expected) { throw MESSAGES.invalidByteToken(expected, actual); } }