CrackMe.apk
Download file
package kotlin.reflect.jvm.internal.impl.protobuf;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import kotlin.reflect.jvm.internal.impl.protobuf.MessageLite;
public abstract class AbstractMessageLite implements MessageLite {
protected int memoizedHashCode = 0;
public void writeDelimitedTo(OutputStream outputStream) throws IOException {
int serializedSize = getSerializedSize();
CodedOutputStream newInstance = CodedOutputStream.newInstance(outputStream, CodedOutputStream.computePreferredBufferSize(CodedOutputStream.computeRawVarint32Size(serializedSize) + serializedSize));
newInstance.writeRawVarint32(serializedSize);
writeTo(newInstance);
newInstance.flush();
}
/* access modifiers changed from: package-private */
public UninitializedMessageException newUninitializedMessageException() {
return new UninitializedMessageException(this);
}
public static abstract class Builder<BuilderType extends Builder> implements MessageLite.Builder {
public abstract BuilderType clone();
public abstract BuilderType mergeFrom(CodedInputStream codedInputStream, ExtensionRegistryLite extensionRegistryLite) throws IOException;
static final class LimitedInputStream extends FilterInputStream {
private int limit;
LimitedInputStream(InputStream inputStream, int i) {
super(inputStream);
this.limit = i;
}
public int available() throws IOException {
return Math.min(super.available(), this.limit);
}
public int read() throws IOException {
if (this.limit <= 0) {
return -1;
}
int read = super.read();
if (read >= 0) {
this.limit--;
}
return read;
}
public int read(byte[] bArr, int i, int i2) throws IOException {
int i3 = this.limit;
if (i3 <= 0) {
return -1;
}
int read = super.read(bArr, i, Math.min(i2, i3));
if (read >= 0) {
this.limit -= read;
}
return read;
}
public long skip(long j) throws IOException {
long skip = super.skip(Math.min(j, (long) this.limit));
if (skip >= 0) {
this.limit = (int) (((long) this.limit) - skip);
}
return skip;
}
}
protected static UninitializedMessageException newUninitializedMessageException(MessageLite messageLite) {
return new UninitializedMessageException(messageLite);
}
}
}
Download file