rc$3.java 1.15 KB
import com.google.common.base.Preconditions;
import java.io.IOException;
import java.io.InputStream;

public final class rc$3
  extends InputStream
{
  public rc$3(rc.a parama) {}
  
  public final void close()
    throws IOException
  {
    this.a.b();
  }
  
  public final int read()
    throws IOException
  {
    return this.a.a();
  }
  
  public final int read(byte[] paramArrayOfByte, int paramInt1, int paramInt2)
    throws IOException
  {
    Preconditions.checkNotNull(paramArrayOfByte);
    Preconditions.checkPositionIndexes(paramInt1, paramInt1 + paramInt2, paramArrayOfByte.length);
    int j;
    if (paramInt2 == 0)
    {
      j = 0;
      return j;
    }
    int i = read();
    if (i == -1) {
      return -1;
    }
    paramArrayOfByte[paramInt1] = ((byte)i);
    i = 1;
    for (;;)
    {
      j = paramInt2;
      if (i >= paramInt2) {
        break;
      }
      j = read();
      if (j == -1) {
        return i;
      }
      paramArrayOfByte[(paramInt1 + i)] = ((byte)j);
      i += 1;
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/rc$3.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */