@Override
    public int position() {
        // if we are in transferTo mode, then this is the FileChannel position
        if (isFCEnabled()) {
            try {
                return (int) fc.position();
            } catch (IOException e) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "Exception in position(): " + e);
                }
                FFDCFilter.processException(e, CLASS_NAME + ".position", "656", this);
                throw new RuntimeException(e);
            }
        }
        return super.position();
    }
@ Override public int position ( ) { if ( isFCEnabled ( ) ) { try { return ( int ) fc . position ( ) ; } catch ( IOException e ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Exception in position(): " + e ) ; } FFDCFilter . processException ( e , CLASS_NAME + ".position" , "656" , this ) ; throw new RuntimeException ( e ) ; } } return super . position ( ) ; }
/*
@see com.ibm.ws.bytebuffer.internal.WsByteBufferImpl#position()