78 lines
1.8 KiB
Smali
78 lines
1.8 KiB
Smali
.class final Lcom/google/android/gms/internal/measurement/da$b;
|
|
.super Lcom/google/android/gms/internal/measurement/da$a;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/android/gms/internal/measurement/da;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "b"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final arh:Ljava/nio/ByteBuffer;
|
|
|
|
.field private ari:I
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/nio/ByteBuffer;)V
|
|
.locals 3
|
|
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->array()[B
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->arrayOffset()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->position()I
|
|
|
|
move-result v2
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {p0, v0, v1, v2}, Lcom/google/android/gms/internal/measurement/da$a;-><init>([BII)V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/measurement/da$b;->arh:Ljava/nio/ByteBuffer;
|
|
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->position()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/da$b;->ari:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final flush()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/da$b;->arh:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/da$b;->ari:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/da$a;->position:I
|
|
|
|
iget v3, p0, Lcom/google/android/gms/internal/measurement/da$a;->offset:I
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
return-void
|
|
.end method
|