Package net.bnubot.core

Examples of net.bnubot.core.BNetInputStream.skipBytes()


                      exeHashBuf = CheckRevisionBNLS.checkRevision(ValueStr, cs.product, MPQFileName, MPQFileTime);
                    } else {
                      exeHashBuf = CheckRevisionBNLS.checkRevision(ValueStr, cs.product, MPQFileName, MPQFileTime, cs.bnlsServer);
                    }
              BNetInputStream exeStream = new BNetInputStream(new java.io.ByteArrayInputStream(exeHashBuf.getBuffer()));
              exeStream.skipBytes(3);
              int success = exeStream.readDWord();
              if(success != 1) {
                Out.error(this.getClass().getName(), HexDump.hexDump(exeHashBuf.getBuffer()));
                throw new Exception("BNLS failed to complete 0x1A sucessfully");
              }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.