public interface  org.graalvm.polyglot.io.ByteSequence extends java.lang.Object
{
public abstract int length();
public abstract byte byteAt(int);
public org.graalvm.polyglot.io.ByteSequence subSequence(int, int)
{
java.lang.IndexOutOfBoundsException v, v, v;
org.graalvm.polyglot.io.ByteSequence$1 v;
int v, v, v, v, v, v;
java.lang.String v, v, v;
org.graalvm.polyglot.io.ByteSequence v;
v := @this: org.graalvm.polyglot.io.ByteSequence;
v := @parameter: int;
v := @parameter: int;
v = v - v;
if v >= 0 goto label;
v = new java.lang.IndexOutOfBoundsException;
v = staticinvoke <java.lang.String: java.lang.String valueOf(int)>(v);
specialinvoke v.<java.lang.IndexOutOfBoundsException: void <init>(java.lang.String)>(v);
throw v;
label:
if v >= 0 goto label;
v = new java.lang.IndexOutOfBoundsException;
v = staticinvoke <java.lang.String: java.lang.String valueOf(int)>(v);
specialinvoke v.<java.lang.IndexOutOfBoundsException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v + v;
v = interfaceinvoke v.<org.graalvm.polyglot.io.ByteSequence: int length()>();
if v <= v goto label;
v = new java.lang.IndexOutOfBoundsException;
v = v + v;
v = staticinvoke <java.lang.String: java.lang.String valueOf(int)>(v);
specialinvoke v.<java.lang.IndexOutOfBoundsException: void <init>(java.lang.String)>(v);
throw v;
label:
v = new org.graalvm.polyglot.io.ByteSequence$1;
specialinvoke v.<org.graalvm.polyglot.io.ByteSequence$1: void <init>(org.graalvm.polyglot.io.ByteSequence,int,int)>(v, v, v);
return v;
}
public byte[] toByteArray()
{
byte[] v;
byte v;
int v, v, v;
org.graalvm.polyglot.io.ByteSequence v;
v := @this: org.graalvm.polyglot.io.ByteSequence;
v = interfaceinvoke v.<org.graalvm.polyglot.io.ByteSequence: int length()>();
v = newarray (byte)[v];
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = interfaceinvoke v.<org.graalvm.polyglot.io.ByteSequence: byte byteAt(int)>(v);
v[v] = v;
v = v + 1;
goto label;
label:
return v;
}
public java.util.stream.IntStream bytes()
{
java.util.stream.IntStream v;
org.graalvm.polyglot.io.ByteSequence v;
java.util.function.Supplier v;
v := @this: org.graalvm.polyglot.io.ByteSequence;
v = staticinvoke <org.graalvm.polyglot.io.ByteSequence$lambda_bytes_0__3217: java.util.function.Supplier bootstrap$(org.graalvm.polyglot.io.ByteSequence)>(v);
v = staticinvoke <java.util.stream.StreamSupport: java.util.stream.IntStream intStream(java.util.function.Supplier,int,boolean)>(v, 16464, 0);
return v;
}
public static org.graalvm.polyglot.io.ByteSequence create(byte[])
{
int v;
byte[] v;
org.graalvm.polyglot.io.ByteArraySequence v;
v := @parameter: byte[];
v = new org.graalvm.polyglot.io.ByteArraySequence;
v = lengthof v;
specialinvoke v.<org.graalvm.polyglot.io.ByteArraySequence: void <init>(byte[],int,int)>(v, 0, v);
return v;
}
}