public interface org.graalvm.polyglot.io.ByteSequence
  minor version: 0
  major version: 59
  flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
  this_class: org.graalvm.polyglot.io.ByteSequence
  super_class: java.lang.Object
{
  public abstract int length();
    descriptor: ()I
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract byte byteAt(int);
    descriptor: (I)B
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
       Name  Flags
      index  

  public org.graalvm.polyglot.io.ByteSequence subSequence(int, int);
    descriptor: (II)Lorg/graalvm/polyglot/io/ByteSequence;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // org.graalvm.polyglot.io.ByteSequence this
        start local 1 // int startIndex
        start local 2 // int endIndex
         0: .line 105
            iload 2 /* endIndex */
            iload 1 /* startIndex */
            isub
            istore 3 /* l */
        start local 3 // int l
         1: .line 106
            iload 3 /* l */
            ifge 3
         2: .line 107
            new java.lang.IndexOutOfBoundsException
            dup
            iload 3 /* l */
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 109
      StackMap locals: int
      StackMap stack:
            iload 1 /* startIndex */
            ifge 5
         4: .line 110
            new java.lang.IndexOutOfBoundsException
            dup
            iload 1 /* startIndex */
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 112
      StackMap locals:
      StackMap stack:
            iload 1 /* startIndex */
            iload 3 /* l */
            iadd
            aload 0 /* this */
            invokeinterface org.graalvm.polyglot.io.ByteSequence.length:()I
            if_icmple 7
         6: .line 113
            new java.lang.IndexOutOfBoundsException
            dup
            iload 1 /* startIndex */
            iload 3 /* l */
            iadd
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 115
      StackMap locals:
      StackMap stack:
            new org.graalvm.polyglot.io.ByteSequence$1
            dup
            aload 0 /* this */
            iload 3 /* l */
            iload 1 /* startIndex */
            invokespecial org.graalvm.polyglot.io.ByteSequence$1.<init>:(Lorg/graalvm/polyglot/io/ByteSequence;II)V
            areturn
        end local 3 // int l
        end local 2 // int endIndex
        end local 1 // int startIndex
        end local 0 // org.graalvm.polyglot.io.ByteSequence this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lorg/graalvm/polyglot/io/ByteSequence;
            0    8     1  startIndex  I
            0    8     2    endIndex  I
            1    8     3           l  I
    MethodParameters:
            Name  Flags
      startIndex  
      endIndex    

  public byte[] toByteArray();
    descriptor: ()[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // org.graalvm.polyglot.io.ByteSequence this
         0: .line 134
            aload 0 /* this */
            invokeinterface org.graalvm.polyglot.io.ByteSequence.length:()I
            newarray 8
            astore 1 /* b */
        start local 1 // byte[] b
         1: .line 135
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 5
         3: .line 136
      StackMap locals: byte[] int
      StackMap stack:
            aload 1 /* b */
            iload 2 /* i */
            aload 0 /* this */
            iload 2 /* i */
            invokeinterface org.graalvm.polyglot.io.ByteSequence.byteAt:(I)B
            bastore
         4: .line 135
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 2 /* i */
            aload 1 /* b */
            arraylength
            if_icmplt 3
        end local 2 // int i
         6: .line 138
            aload 1 /* b */
            areturn
        end local 1 // byte[] b
        end local 0 // org.graalvm.polyglot.io.ByteSequence this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/graalvm/polyglot/io/ByteSequence;
            1    7     1     b  [B
            2    6     2     i  I

  public java.util.stream.IntStream bytes();
    descriptor: ()Ljava/util/stream/IntStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.io.ByteSequence this
         0: .line 170
            aload 0 /* this */
            invokedynamic get(Lorg/graalvm/polyglot/io/ByteSequence;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/graalvm/polyglot/io/ByteSequence.lambda$0()Ljava/util/Spliterator$OfInt; (7 itf)
                  ()Ljava/util/Spliterator$OfInt;
         1: .line 174
            sipush 16464
         2: .line 175
            iconst_0
         3: .line 170
            invokestatic java.util.stream.StreamSupport.intStream:(Ljava/util/function/Supplier;IZ)Ljava/util/stream/IntStream;
            areturn
        end local 0 // org.graalvm.polyglot.io.ByteSequence this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/polyglot/io/ByteSequence;

  public static org.graalvm.polyglot.io.ByteSequence create(byte[]);
    descriptor: ([B)Lorg/graalvm/polyglot/io/ByteSequence;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // byte[] buffer
         0: .line 186
            new org.graalvm.polyglot.io.ByteArraySequence
            dup
            aload 0 /* buffer */
            iconst_0
            aload 0 /* buffer */
            arraylength
            invokespecial org.graalvm.polyglot.io.ByteArraySequence.<init>:([BII)V
            areturn
        end local 0 // byte[] buffer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  buffer  [B
    MethodParameters:
        Name  Flags
      buffer  

  private java.util.Spliterator$OfInt lambda$0();
    descriptor: ()Ljava/util/Spliterator$OfInt;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.io.ByteSequence this
         0: .line 171
            new org.graalvm.polyglot.io.ByteSequence$1ByteIterator
            dup
            aload 0 /* this */
            invokespecial org.graalvm.polyglot.io.ByteSequence$1ByteIterator.<init>:(Lorg/graalvm/polyglot/io/ByteSequence;)V
         1: .line 172
            aload 0 /* this */
            invokeinterface org.graalvm.polyglot.io.ByteSequence.length:()I
            i2l
         2: .line 173
            bipush 16
         3: .line 170
            invokestatic java.util.Spliterators.spliterator:(Ljava/util/PrimitiveIterator$OfInt;JI)Ljava/util/Spliterator$OfInt;
         4: .line 173
            areturn
        end local 0 // org.graalvm.polyglot.io.ByteSequence this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/graalvm/polyglot/io/ByteSequence;
}
SourceFile: "ByteSequence.java"
NestMembers:
  org.graalvm.polyglot.io.ByteSequence$1  org.graalvm.polyglot.io.ByteSequence$1ByteIterator
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract OfInt = java.util.PrimitiveIterator$OfInt of java.util.PrimitiveIterator
  public abstract OfInt = java.util.Spliterator$OfInt of java.util.Spliterator
  org.graalvm.polyglot.io.ByteSequence$1
  ByteIterator = org.graalvm.polyglot.io.ByteSequence$1ByteIterator