final class okhttp3.internal.http1.Http1Codec$FixedLengthSink implements okio.Sink
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: okhttp3.internal.http1.Http1Codec$FixedLengthSink
  super_class: java.lang.Object
{
  private final okio.ForwardingTimeout timeout;
    descriptor: Lokio/ForwardingTimeout;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private long bytesRemaining;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  final okhttp3.internal.http1.Http1Codec this$0;
    descriptor: Lokhttp3/internal/http1/Http1Codec;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(okhttp3.internal.http1.Http1Codec, long);
    descriptor: (Lokhttp3/internal/http1/Http1Codec;J)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
        start local 2 // long bytesRemaining
         0: .line 280
            aload 0 /* this */
            aload 1
            putfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.this$0:Lokhttp3/internal/http1/Http1Codec;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 276
            aload 0 /* this */
            new okio.ForwardingTimeout
            dup
            aload 1
            getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
            invokeinterface okio.BufferedSink.timeout:()Lokio/Timeout;
            invokespecial okio.ForwardingTimeout.<init>:(Lokio/Timeout;)V
            putfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.timeout:Lokio/ForwardingTimeout;
         2: .line 281
            aload 0 /* this */
            lload 2 /* bytesRemaining */
            putfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.bytesRemaining:J
         3: .line 282
            return
        end local 2 // long bytesRemaining
        end local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0            this  Lokhttp3/internal/http1/Http1Codec$FixedLengthSink;
            0    4     2  bytesRemaining  J
    MethodParameters:
                Name  Flags
      this$0          final
      bytesRemaining  

  public okio.Timeout timeout();
    descriptor: ()Lokio/Timeout;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
         0: .line 285
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.timeout:Lokio/ForwardingTimeout;
            areturn
        end local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lokhttp3/internal/http1/Http1Codec$FixedLengthSink;

  public void write(okio.Buffer, long);
    descriptor: (Lokio/Buffer;J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
        start local 1 // okio.Buffer source
        start local 2 // long byteCount
         0: .line 289
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.closed:Z
            ifeq 1
            new java.lang.IllegalStateException
            dup
            ldc "closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         1: .line 290
      StackMap locals:
      StackMap stack:
            aload 1 /* source */
            invokevirtual okio.Buffer.size:()J
            lconst_0
            lload 2 /* byteCount */
            invokestatic okhttp3.internal.Util.checkOffsetAndCount:(JJJ)V
         2: .line 291
            lload 2 /* byteCount */
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.bytesRemaining:J
            lcmp
            ifle 6
         3: .line 292
            new java.net.ProtocolException
            dup
            new java.lang.StringBuilder
            dup
            ldc "expected "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.bytesRemaining:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
         4: .line 293
            ldc " bytes but received "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 2 /* byteCount */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         5: .line 292
            invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 295
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.this$0:Lokhttp3/internal/http1/Http1Codec;
            getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
            aload 1 /* source */
            lload 2 /* byteCount */
            invokeinterface okio.BufferedSink.write:(Lokio/Buffer;J)V
         7: .line 296
            aload 0 /* this */
            dup
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.bytesRemaining:J
            lload 2 /* byteCount */
            lsub
            putfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.bytesRemaining:J
         8: .line 297
            return
        end local 2 // long byteCount
        end local 1 // okio.Buffer source
        end local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0       this  Lokhttp3/internal/http1/Http1Codec$FixedLengthSink;
            0    9     1     source  Lokio/Buffer;
            0    9     2  byteCount  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      source     
      byteCount  

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
         0: .line 300
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.closed:Z
            ifeq 1
            return
         1: .line 301
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.this$0:Lokhttp3/internal/http1/Http1Codec;
            getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
            invokeinterface okio.BufferedSink.flush:()V
         2: .line 302
            return
        end local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lokhttp3/internal/http1/Http1Codec$FixedLengthSink;
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
         0: .line 305
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.closed:Z
            ifeq 1
            return
         1: .line 306
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.closed:Z
         2: .line 307
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.bytesRemaining:J
            lconst_0
            lcmp
            ifle 3
            new java.net.ProtocolException
            dup
            ldc "unexpected end of stream"
            invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 308
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.this$0:Lokhttp3/internal/http1/Http1Codec;
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.timeout:Lokio/ForwardingTimeout;
            invokevirtual okhttp3.internal.http1.Http1Codec.detachTimeout:(Lokio/ForwardingTimeout;)V
         4: .line 309
            aload 0 /* this */
            getfield okhttp3.internal.http1.Http1Codec$FixedLengthSink.this$0:Lokhttp3/internal/http1/Http1Codec;
            iconst_3
            putfield okhttp3.internal.http1.Http1Codec.state:I
         5: .line 310
            return
        end local 0 // okhttp3.internal.http1.Http1Codec$FixedLengthSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lokhttp3/internal/http1/Http1Codec$FixedLengthSink;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "Http1Codec.java"
NestHost: okhttp3.internal.http1.Http1Codec
InnerClasses:
  private final FixedLengthSink = okhttp3.internal.http1.Http1Codec$FixedLengthSink of okhttp3.internal.http1.Http1Codec