* @return
*/
int readControlLine (InputStream in, boolean checkForError, byte ctlByte){
seekToCRLF(in);
if(checkForError && (this.isError = buffer[0] == ProtocolBase.ERR_BYTE) == true) {
status = new ResponseStatus(ResponseStatus.Code.ERROR, new String(buffer, 1, offset-3));
didRead = true; // we're done - error's are only one line
return -2;
}
if(buffer[0] != ctlByte) {
throw new ProviderException ("Bug? Expecting status code for size/count");