final class io.netty.handler.codec.http.multipart.HttpPostBodyUtil extends java.lang.Object
{
public static final int chunkSize;
public static final java.lang.String DEFAULT_BINARY_CONTENT_TYPE;
public static final java.lang.String DEFAULT_TEXT_CONTENT_TYPE;
private void <init>()
{
io.netty.handler.codec.http.multipart.HttpPostBodyUtil v;
v := @this: io.netty.handler.codec.http.multipart.HttpPostBodyUtil;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
static int findNonWhitespace(java.lang.String, int)
{
int v, v, v;
char v;
java.lang.String v;
boolean v;
v := @parameter: java.lang.String;
v := @parameter: int;
v = v;
label:
v = virtualinvoke v.<java.lang.String: int length()>();
if v >= v goto label;
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
v = staticinvoke <java.lang.Character: boolean isWhitespace(char)>(v);
if v == 0 goto label;
v = v + 1;
goto label;
label:
return v;
}
static int findEndOfString(java.lang.String)
{
int v, v;
char v;
java.lang.String v;
boolean v;
v := @parameter: java.lang.String;
v = virtualinvoke v.<java.lang.String: int length()>();
label:
if v <= 0 goto label;
v = v - 1;
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
v = staticinvoke <java.lang.Character: boolean isWhitespace(char)>(v);
if v == 0 goto label;
v = v - 1;
goto label;
label:
return v;
}
static int findLineBreak(io.netty.buffer.ByteBuf, int)
{
byte v;
io.netty.buffer.ByteBuf v;
int v, v, v, v, v, v, v, v, v, v;
v := @parameter: io.netty.buffer.ByteBuf;
v := @parameter: int;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: int readableBytes()>();
v = virtualinvoke v.<io.netty.buffer.ByteBuf: int readerIndex()>();
v = v - v;
v = v - v;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: int bytesBefore(int,int,byte)>(v, v, 10);
v = (int) -1;
if v != v goto label;
v = (int) -1;
return v;
label:
if v <= 0 goto label;
v = v + v;
v = v - 1;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: byte getByte(int)>(v);
if v != 13 goto label;
v = v - 1;
label:
return v;
}
static int findLastLineBreak(io.netty.buffer.ByteBuf, int)
{
byte v, v, v;
io.netty.buffer.ByteBuf v;
int v, v, v, v, v, v, v, v;
v := @parameter: io.netty.buffer.ByteBuf;
v := @parameter: int;
v = staticinvoke <io.netty.handler.codec.http.multipart.HttpPostBodyUtil: int findLineBreak(io.netty.buffer.ByteBuf,int)>(v, v);
v = 0;
if v < 0 goto label;
v = v + v;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: byte getByte(int)>(v);
if v != 13 goto label;
v = 2;
goto label;
label:
v = 1;
label:
v = v + v;
label:
if v <= 0 goto label;
v = v + v;
v = staticinvoke <io.netty.handler.codec.http.multipart.HttpPostBodyUtil: int findLineBreak(io.netty.buffer.ByteBuf,int)>(v, v);
if v < 0 goto label;
v = v + v;
v = v + v;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: byte getByte(int)>(v);
if v != 13 goto label;
v = 2;
goto label;
label:
v = 1;
label:
v = v + v;
goto label;
label:
v = v - v;
return v;
}
static int findDelimiter(io.netty.buffer.ByteBuf, int, byte[], boolean)
{
byte[] v;
byte v, v, v, v, v;
io.netty.buffer.ByteBuf v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v;
boolean v, v;
v := @parameter: io.netty.buffer.ByteBuf;
v := @parameter: int;
v := @parameter: byte[];
v := @parameter: boolean;
v = lengthof v;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: int readerIndex()>();
v = virtualinvoke v.<io.netty.buffer.ByteBuf: int writerIndex()>();
v = v - v;
v = v;
v = 1;
label:
if v == 0 goto label;
if v > v goto label;
v = v[0];
v = virtualinvoke v.<io.netty.buffer.ByteBuf: int bytesBefore(int,int,byte)>(v, v, v);
if v >= 0 goto label;
v = (int) -1;
return v;
label:
v = v + v;
v = v - v;
if v < v goto label;
v = 0;
v = 0;
label:
if v >= v goto label;
v = v + v;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: byte getByte(int)>(v);
v = v[v];
if v == v goto label;
v = v + 1;
v = v - 1;
v = 1;
goto label;
label:
v = v + 1;
goto label;
label:
if v != 0 goto label;
if v == 0 goto label;
if v <= v goto label;
v = v - 1;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: byte getByte(int)>(v);
if v != 10 goto label;
v = v - 1;
if v <= v goto label;
v = v - 1;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: byte getByte(int)>(v);
if v != 13 goto label;
v = v - 1;
goto label;
label:
v = v + 1;
v = v - 1;
v = 1;
goto label;
label:
v = v - v;
return v;
label:
v = (int) -1;
return v;
}
}