public int read() throws IOException { checkOpen(); int read = mRandomAccess.read(); if (read >= 0) { position++; } return read; }
@Override public int read(byte pBytes[], int pOffset, int pLength) throws IOException { checkOpen(); int read = mRandomAccess.read(pBytes, pOffset, pLength); if (read > 0) { position += read; } return read; }
@Override public int read(byte pBytes[], int pOffset, int pLength) throws IOException { checkOpen(); int read = mRandomAccess.read(pBytes, pOffset, pLength); if (read > 0) { mPosition += read; } return read; }
public int read() throws IOException { checkOpen(); int read = mRandomAccess.read(); if (read >= 0) { position++; } return read; }
@Override public int read(byte pBytes[], int pOffset, int pLength) throws IOException { checkOpen(); int read = mRandomAccess.read(pBytes, pOffset, pLength); if (read > 0) { position += read; } return read; }
public int read() throws IOException { checkOpen(); int read = mRandomAccess.read(); if (read >= 0) { mPosition++; } return read; }