public class jdk.internal.org.jline.utils.WriterOutputStream extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.org.jline.utils.WriterOutputStream
  super_class: java.io.OutputStream
{
  private final java.io.Writer out;
    descriptor: Ljava/io/Writer;
    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 final java.nio.ByteBuffer decoderIn;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  public void <init>(java.io.Writer, java.nio.charset.Charset);
    descriptor: (Ljava/io/Writer;Ljava/nio/charset/Charset;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
        start local 1 // java.io.Writer out
        start local 2 // java.nio.charset.Charset charset
         0: .line 38
            aload 0 /* this */
            aload 1 /* out */
            aload 2 /* charset */
            invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
         1: .line 39
            getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
         2: .line 40
            getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
            invokespecial jdk.internal.org.jline.utils.WriterOutputStream.<init>:(Ljava/io/Writer;Ljava/nio/charset/CharsetDecoder;)V
         3: .line 41
            return
        end local 2 // java.nio.charset.Charset charset
        end local 1 // java.io.Writer out
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljdk/internal/org/jline/utils/WriterOutputStream;
            0    4     1      out  Ljava/io/Writer;
            0    4     2  charset  Ljava/nio/charset/Charset;
    MethodParameters:
         Name  Flags
      out      
      charset  

  public void <init>(java.io.Writer, java.nio.charset.CharsetDecoder);
    descriptor: (Ljava/io/Writer;Ljava/nio/charset/CharsetDecoder;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
        start local 1 // java.io.Writer out
        start local 2 // java.nio.charset.CharsetDecoder decoder
         0: .line 43
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 34
            aload 0 /* this */
            sipush 256
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            putfield jdk.internal.org.jline.utils.WriterOutputStream.decoderIn:Ljava/nio/ByteBuffer;
         2: .line 35
            aload 0 /* this */
            sipush 128
            invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
            putfield jdk.internal.org.jline.utils.WriterOutputStream.decoderOut:Ljava/nio/CharBuffer;
         3: .line 44
            aload 0 /* this */
            aload 1 /* out */
            putfield jdk.internal.org.jline.utils.WriterOutputStream.out:Ljava/io/Writer;
         4: .line 45
            aload 0 /* this */
            aload 2 /* decoder */
            putfield jdk.internal.org.jline.utils.WriterOutputStream.decoder:Ljava/nio/charset/CharsetDecoder;
         5: .line 46
            return
        end local 2 // java.nio.charset.CharsetDecoder decoder
        end local 1 // java.io.Writer out
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Ljdk/internal/org/jline/utils/WriterOutputStream;
            0    6     1      out  Ljava/io/Writer;
            0    6     2  decoder  Ljava/nio/charset/CharsetDecoder;
    MethodParameters:
         Name  Flags
      out      
      decoder  

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
        start local 1 // int b
         0: .line 50
            aload 0 /* this */
            iconst_1
            newarray 8
            dup
            iconst_0
            iload 1 /* b */
            i2b
            bastore
            iconst_0
            iconst_1
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.write:([BII)V
         1: .line 51
            return
        end local 1 // int b
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/utils/WriterOutputStream;
            0    2     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void write(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
        start local 1 // byte[] b
         0: .line 55
            aload 0 /* this */
            aload 1 /* b */
            iconst_0
            aload 1 /* b */
            arraylength
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.write:([BII)V
         1: .line 56
            return
        end local 1 // byte[] b
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/utils/WriterOutputStream;
            0    2     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 60
            goto 6
         1: .line 61
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderIn:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Math.min:(II)I
            istore 4 /* c */
        start local 4 // int c
         2: .line 62
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderIn:Ljava/nio/ByteBuffer;
            aload 1 /* b */
            iload 2 /* off */
            iload 4 /* c */
            invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
            pop
         3: .line 63
            aload 0 /* this */
            iconst_0
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.processInput:(Z)V
         4: .line 64
            iload 3 /* len */
            iload 4 /* c */
            isub
            istore 3 /* len */
         5: .line 65
            iload 2 /* off */
            iload 4 /* c */
            iadd
            istore 2 /* off */
        end local 4 // int c
         6: .line 60
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifgt 1
         7: .line 67
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.flush:()V
         8: .line 68
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/internal/org/jline/utils/WriterOutputStream;
            0    9     1     b  [B
            0    9     2   off  I
            0    9     3   len  I
            2    6     4     c  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
         0: .line 72
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.flushOutput:()V
         1: .line 73
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.out:Ljava/io/Writer;
            invokevirtual java.io.Writer.flush:()V
         2: .line 74
            return
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/utils/WriterOutputStream;
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
         0: .line 78
            aload 0 /* this */
            iconst_1
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.processInput:(Z)V
         1: .line 79
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.flush:()V
         2: .line 80
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.out:Ljava/io/Writer;
            invokevirtual java.io.Writer.close:()V
         3: .line 81
            return
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/utils/WriterOutputStream;
    Exceptions:
      throws java.io.IOException

  private void processInput(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
        start local 1 // boolean endOfInput
         0: .line 91
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderIn:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
         1: .line 94
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoder:Ljava/nio/charset/CharsetDecoder;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderIn:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderOut:Ljava/nio/CharBuffer;
            iload 1 /* endOfInput */
            invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
            astore 2 /* coderResult */
        start local 2 // java.nio.charset.CoderResult coderResult
         2: .line 95
            aload 2 /* coderResult */
            invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
            ifeq 5
         3: .line 96
            aload 0 /* this */
            invokevirtual jdk.internal.org.jline.utils.WriterOutputStream.flushOutput:()V
         4: .line 97
            goto 1
      StackMap locals: java.nio.charset.CoderResult
      StackMap stack:
         5: aload 2 /* coderResult */
            invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
            ifeq 7
         6: .line 98
            goto 8
         7: .line 102
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "Unexpected coder result"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderIn:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
         9: .line 107
            return
        end local 2 // java.nio.charset.CoderResult coderResult
        end local 1 // boolean endOfInput
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         this  Ljdk/internal/org/jline/utils/WriterOutputStream;
            0   10     1   endOfInput  Z
            2   10     2  coderResult  Ljava/nio/charset/CoderResult;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
            Name  Flags
      endOfInput  final

  private void flushOutput();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
         0: .line 115
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderOut:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            ifle 3
         1: .line 116
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.out:Ljava/io/Writer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderOut:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.array:()[C
            iconst_0
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderOut:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            invokevirtual java.io.Writer.write:([CII)V
         2: .line 117
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.WriterOutputStream.decoderOut:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.rewind:()Ljava/nio/CharBuffer;
            pop
         3: .line 119
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.utils.WriterOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/org/jline/utils/WriterOutputStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "WriterOutputStream.java"