public long getFilePointer ( ) throws IOException { try { return Libcore . os . lseek ( fd , 0L , SEEK_CUR ) ; } catch ( ErrnoException errnoException ) { throw errnoException . rethrowAsIOException ( ) ; } }
Gets the current position within this file . All reads and writes take place at the current file pointer position .