class org.jruby.RubyEncoding$UTF8Coder
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.jruby.RubyEncoding$UTF8Coder
  super_class: java.lang.Object
{
  private final java.nio.charset.CharsetEncoder encoder;
    descriptor: Ljava/nio/charset/CharsetEncoder;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.charset.CharsetDecoder decoder;
    descriptor: Ljava/nio/charset/CharsetDecoder;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private static final int BUF_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4096

  private final java.nio.ByteBuffer byteBuffer;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.CharBuffer charBuffer;
    descriptor: Ljava/nio/CharBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.RubyEncoding$UTF8Coder this
         0: .line 345
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 337
            aload 0 /* this */
            getstatic org.jruby.RubyEncoding.UTF8:Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
            putfield org.jruby.RubyEncoding$UTF8Coder.encoder:Ljava/nio/charset/CharsetEncoder;
         2: .line 338
            aload 0 /* this */
            getstatic org.jruby.RubyEncoding.UTF8:Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
            putfield org.jruby.RubyEncoding$UTF8Coder.decoder:Ljava/nio/charset/CharsetDecoder;
         3: .line 342
            aload 0 /* this */
            sipush 4096
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            putfield org.jruby.RubyEncoding$UTF8Coder.byteBuffer:Ljava/nio/ByteBuffer;
         4: .line 343
            aload 0 /* this */
            sipush 4096
            invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
            putfield org.jruby.RubyEncoding$UTF8Coder.charBuffer:Ljava/nio/CharBuffer;
         5: .line 346
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.decoder:Ljava/nio/charset/CharsetDecoder;
            getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
            pop
         6: .line 347
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.decoder:Ljava/nio/charset/CharsetDecoder;
            getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
            pop
         7: .line 348
            return
        end local 0 // org.jruby.RubyEncoding$UTF8Coder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/jruby/RubyEncoding$UTF8Coder;

  public final java.nio.ByteBuffer encode(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/nio/ByteBuffer;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // org.jruby.RubyEncoding$UTF8Coder this
        start local 1 // java.lang.String str
         0: .line 351
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.byteBuffer:Ljava/nio/ByteBuffer;
            astore 2 /* buf */
        start local 2 // java.nio.ByteBuffer buf
         1: .line 352
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.charBuffer:Ljava/nio/CharBuffer;
            astore 3 /* cbuf */
        start local 3 // java.nio.CharBuffer cbuf
         2: .line 353
            aload 2 /* buf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         3: .line 354
            aload 3 /* cbuf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         4: .line 355
            aload 3 /* cbuf */
            aload 1 /* str */
            invokevirtual java.nio.CharBuffer.put:(Ljava/lang/String;)Ljava/nio/CharBuffer;
            pop
         5: .line 356
            aload 3 /* cbuf */
            invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         6: .line 357
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.encoder:Ljava/nio/charset/CharsetEncoder;
            aload 3 /* cbuf */
            aload 2 /* buf */
            iconst_1
            invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
            pop
         7: .line 358
            aload 2 /* buf */
            invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         8: .line 360
            aload 2 /* buf */
            areturn
        end local 3 // java.nio.CharBuffer cbuf
        end local 2 // java.nio.ByteBuffer buf
        end local 1 // java.lang.String str
        end local 0 // org.jruby.RubyEncoding$UTF8Coder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/jruby/RubyEncoding$UTF8Coder;
            0    9     1   str  Ljava/lang/String;
            1    9     2   buf  Ljava/nio/ByteBuffer;
            2    9     3  cbuf  Ljava/nio/CharBuffer;
    MethodParameters:
      Name  Flags
      str   

  public final java.nio.ByteBuffer encode(java.lang.CharSequence);
    descriptor: (Ljava/lang/CharSequence;)Ljava/nio/ByteBuffer;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.jruby.RubyEncoding$UTF8Coder this
        start local 1 // java.lang.CharSequence str
         0: .line 364
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.byteBuffer:Ljava/nio/ByteBuffer;
            astore 2 /* buf */
        start local 2 // java.nio.ByteBuffer buf
         1: .line 365
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.charBuffer:Ljava/nio/CharBuffer;
            astore 3 /* cbuf */
        start local 3 // java.nio.CharBuffer cbuf
         2: .line 366
            aload 2 /* buf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         3: .line 367
            aload 3 /* cbuf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         4: .line 370
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         5: goto 7
      StackMap locals: java.nio.ByteBuffer java.nio.CharBuffer int
      StackMap stack:
         6: aload 3 /* cbuf */
            aload 1 /* str */
            iload 4 /* i */
            invokeinterface java.lang.CharSequence.charAt:(I)C
            invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
            pop
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 4 /* i */
            aload 1 /* str */
            invokeinterface java.lang.CharSequence.length:()I
            if_icmplt 6
        end local 4 // int i
         8: .line 371
            aload 3 /* cbuf */
            invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         9: .line 372
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.encoder:Ljava/nio/charset/CharsetEncoder;
            aload 3 /* cbuf */
            aload 2 /* buf */
            iconst_1
            invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
            pop
        10: .line 373
            aload 2 /* buf */
            invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
        11: .line 375
            aload 2 /* buf */
            areturn
        end local 3 // java.nio.CharBuffer cbuf
        end local 2 // java.nio.ByteBuffer buf
        end local 1 // java.lang.CharSequence str
        end local 0 // org.jruby.RubyEncoding$UTF8Coder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lorg/jruby/RubyEncoding$UTF8Coder;
            0   12     1   str  Ljava/lang/CharSequence;
            1   12     2   buf  Ljava/nio/ByteBuffer;
            2   12     3  cbuf  Ljava/nio/CharBuffer;
            5    8     4     i  I
    MethodParameters:
      Name  Flags
      str   

  public final java.nio.CharBuffer decode(byte[], int, int);
    descriptor: ([BII)Ljava/nio/CharBuffer;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // org.jruby.RubyEncoding$UTF8Coder this
        start local 1 // byte[] bytes
        start local 2 // int start
        start local 3 // int length
         0: .line 379
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.charBuffer:Ljava/nio/CharBuffer;
            astore 4 /* cbuf */
        start local 4 // java.nio.CharBuffer cbuf
         1: .line 380
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.byteBuffer:Ljava/nio/ByteBuffer;
            astore 5 /* buf */
        start local 5 // java.nio.ByteBuffer buf
         2: .line 381
            aload 4 /* cbuf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         3: .line 382
            aload 5 /* buf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         4: .line 383
            aload 5 /* buf */
            aload 1 /* bytes */
            iload 2 /* start */
            iload 3 /* length */
            invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
            pop
         5: .line 384
            aload 5 /* buf */
            invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         6: .line 385
            aload 0 /* this */
            getfield org.jruby.RubyEncoding$UTF8Coder.decoder:Ljava/nio/charset/CharsetDecoder;
            aload 5 /* buf */
            aload 4 /* cbuf */
            iconst_1
            invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
            pop
         7: .line 386
            aload 4 /* cbuf */
            invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         8: .line 388
            aload 4 /* cbuf */
            areturn
        end local 5 // java.nio.ByteBuffer buf
        end local 4 // java.nio.CharBuffer cbuf
        end local 3 // int length
        end local 2 // int start
        end local 1 // byte[] bytes
        end local 0 // org.jruby.RubyEncoding$UTF8Coder this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lorg/jruby/RubyEncoding$UTF8Coder;
            0    9     1   bytes  [B
            0    9     2   start  I
            0    9     3  length  I
            1    9     4    cbuf  Ljava/nio/CharBuffer;
            2    9     5     buf  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      bytes   
      start   
      length  
}
SourceFile: "RubyEncoding.java"
NestHost: org.jruby.RubyEncoding
InnerClasses:
  private UTF8Coder = org.jruby.RubyEncoding$UTF8Coder of org.jruby.RubyEncoding