private void check(){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.gzip.GZIPOutputStream: void check()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r2_o = this;
    _r0_o = ((global::com.codename1.io.gzip.GZIPOutputStream) _r2_o)._fdeflater;
    _r0_o = ((global::com.codename1.io.gzip.Deflater) _r0_o)._fdstate;
    _r0.i = ((global::com.codename1.io.gzip.Deflate) _r0_o)._fstatus;
    _r1.i = 42;
    if (_r0.i == _r1.i) goto label18;
    _r0_o = new global::com.codename1.io.gzip.GZIPException();
    // Value=header is already written.
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o)[email protected](new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 46))}));
    ((global::com.codename1.io.gzip.GZIPException) _r0_o)[email protected]((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.io.gzip.GZIPException) _r0_o);
    label18:;
    return;
//XMLVM_END_WRAPPER[com.codename1.io.gzip.GZIPOutputStream: void check()]
}
示例#2
0
public virtual long getCRC(){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.gzip.GZIPInputStream: long getCRC()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r2_o = this;
    _r0_o = ((global::com.codename1.io.gzip.GZIPInputStream) _r2_o)._finflater;
    _r0_o = ((global::com.codename1.io.gzip.Inflater) _r0_o)._fistate;
    _r0.i = ((global::com.codename1.io.gzip.Inflate) _r0_o)._fmode;
    _r1.i = 12;
    if (_r0.i == _r1.i) goto label18;
    _r0_o = new global::com.codename1.io.gzip.GZIPException();
    // Value=checksum is not calculated yet.
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o)[email protected](new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46))}));
    ((global::com.codename1.io.gzip.GZIPException) _r0_o)[email protected]((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.io.gzip.GZIPException) _r0_o);
    label18:;
    _r0_o = ((global::com.codename1.io.gzip.GZIPInputStream) _r2_o)._finflater;
    _r0_o = ((global::com.codename1.io.gzip.Inflater) _r0_o)._fistate;
    _r0_o = ((global::com.codename1.io.gzip.Inflate) _r0_o).getGZIPHeader();
    _r0.l = ((global::com.codename1.io.gzip.GZIPHeader) _r0_o).getCRC();
    return _r0.l;
//XMLVM_END_WRAPPER[com.codename1.io.gzip.GZIPInputStream: long getCRC()]
}
示例#3
0
public void @this(int n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.gzip.Deflater: void <init>(int, int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = this;
    _r5.i = n1;
    _r6.i = n2;
    _r7.i = n3;
    ((global::com.codename1.io.gzip.ZStream) _r4_o)[email protected]();
    _r1.i = 0;
    ((global::com.codename1.io.gzip.Deflater) _r4_o)._ffinished = 0!=_r1.i;
    _r0.i = ((global::com.codename1.io.gzip.Deflater) _r4_o).init((int) _r5.i, (int) _r6.i, (int) _r7.i);
    if (_r0.i == 0) goto label43;
    _r1_o = new global::com.codename1.io.gzip.GZIPException();
    _r2_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r2_o)[email protected]();
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).append((int) _r0.i);
    // Value=: 
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o)[email protected](new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)58)), unchecked((char) unchecked((uint) 32))}));
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).append((global::java.lang.String) _r3_o);
    _r3_o = ((global::com.codename1.io.gzip.Deflater) _r4_o)._fmsg;
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).append((global::java.lang.String) _r3_o);
    _r2_o = ((global::java.lang.StringBuilder) _r2_o).toString();
    ((global::com.codename1.io.gzip.GZIPException) _r1_o)[email protected]((global::java.lang.String) _r2_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::com.codename1.io.gzip.GZIPException) _r1_o);
    label43:;
    return;
//XMLVM_END_WRAPPER[com.codename1.io.gzip.Deflater: void <init>(int, int, int)]
}