package com.google.android.gms.internal.vision; import java.util.NoSuchElementException; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public final class zzep implements zzeu { private final int limit; private int position = 0; private final zzeo zzsa; /* JADX INFO: Access modifiers changed from: package-private */ public zzep(zzeo zzeoVar) { this.zzsa = zzeoVar; this.limit = zzeoVar.size(); } @Override // com.google.android.gms.internal.vision.zzeu public final byte nextByte() { try { zzeo zzeoVar = this.zzsa; int i = this.position; this.position = i + 1; return zzeoVar.zzai(i); } catch (IndexOutOfBoundsException e) { throw new NoSuchElementException(e.getMessage()); } } @Override // java.util.Iterator public final void remove() { throw new UnsupportedOperationException(); } @Override // java.util.Iterator public final /* synthetic */ Byte next() { return Byte.valueOf(nextByte()); } @Override // java.util.Iterator public final boolean hasNext() { return this.position < this.limit; } }