code: public static boolean isNext(final Buffer buffer, final byte b) throws IOException {
          if (buffer.hasReadableBytes()) {
              final byte actual = buffer.peekByte();
              return actual == b;
          }
  
          return false;
      }
docs: Will check whether the next readable byte in the buffer is a certain byte
  
  @param buffer
  the buffer to peek into
  @param b
  the byte we are checking is the next byte in the buffer to be
  read
  @return true if the next byte to read indeed is what we hope it is