code: private void readCRLF() throws IOException {
          int cr = in.read();
          int lf = in.read();
          if ((cr != '\r') || (lf != '\n')) {
              throw new IOException(
                  "CRLF expected at end of chunk: " + cr + "/" + lf);
          }
      }
docs: Read the CRLF terminator.
  @throws IOException If an IO error occurs.