@Override
    @Deprecated
    public String readLine() throws IOException {
        String value = dataInput.readLine();
        if (value != null) {
            count += value.getBytes().length;
        }
        return value;
    }
@ Override @ Deprecated public String readLine ( ) throws IOException { String value = dataInput . readLine ( ) ; if ( value != null ) { count += value . getBytes ( ) . length ; } return value ; }
Please note that this isn't going to accurately count line separators, which are discarded by
the underlying DataInput object
This call is deprecated because you cannot accurately account for the CR/LF count
@return
@throws IOException