public int METHOD_1 ( byte [ ] buffer , int offset , int length ) throws java.io.IOException { if ( ( ! ( VAR_1 ) ) && ( ( offset + length ) > ( VAR_2 ) ) ) { METHOD_2 ( ( ( offset + length ) + ( VAR_3 ) ) ) ; } int count = VAR_4 . METHOD_1 ( buffer , offset , length ) ; if ( count != ( - 1 ) ) { this . offset += count ; } return count ; }

public int METHOD_1 ( byte [ ] buffer , int offset , int length ) throws java.io.IOException { if ( ( ! ( VAR_1 ) ) && ( ( ( this . offset ) + length ) > ( VAR_2 ) ) ) { METHOD_2 ( ( ( ( this . offset ) + length ) + ( VAR_3 ) ) ) ; } int count = VAR_4 . METHOD_1 ( buffer , offset , length ) ; if ( count != ( - 1 ) ) { this . offset += count ; } return count ; }
