private void readCRLF() throws IOException {
  final int cr=in.read();
  final int lf=in.read();
  if ((cr != '\r') || (lf != '\n')) {
    throw new IOException("CRLF expected at end of chunk: " + cr + "/"+ lf);
  }
}

private void readCRLF ( ) throws IOException { final int cr = in . read ( ) ; final int lf = in . read ( ) ; if ( ( cr != '\r' ) || ( lf != '\n' ) ) { throw new IOException ( "CRLF expected at end of chunk: " + cr + "/" + lf ) ; } }
read the crlf terminator .
