删除控制台打印

This commit is contained in:
junj2.liang
2022-09-09 14:23:59 +08:00
parent 3a0afa946d
commit 9ccab48de8
12 changed files with 4 additions and 88 deletions
@@ -83,7 +83,6 @@ public class BytesQueue {
}
int hasLen = q.length - index;
System.out.println(String.format("-> %d %d %d", dataIndex, needLen, hasLen));
if ( hasLen == needLen ) {
System.arraycopy( q, index , data, dataIndex, needLen );
it.remove();
@@ -108,9 +108,6 @@ public class SydSM4Backup implements ISM4 {
nSourceWrap.put( waitData );
nSourceWrap.put( pcData );
sourceWrap = nSourceWrap;
System.out.println("new sourceWrap=" + Util.bytes2HexString(sourceWrap.array()));
int totalLen = sourceWrap.array().length;
if ( totalLen / 16 < 2){
return new byte[0];
@@ -128,21 +125,7 @@ public class SydSM4Backup implements ISM4 {
byte[] waitBuff = new byte[ totalLen - sendBuffLen ];
sourceWrap.get( waitBuff , 0, waitBuff.length );
System.out.println( String.format("debug inDataLen=%d totalDataLen=%d sendDataLen=%d 16=%d iPkgNum=%d",
pcData.length,
totalLen,
sendBuff.length,
sendBuff.length % 16,
iPkgNum)
);
System.out.println( "waitBuff=" + Util.bytes2HexString( waitBuff ) );
if( 0x00 == waitBuff[0] ) {
System.out.println("eee");
}
sourceWrap = ByteBuffer.wrap( waitBuff );
System.out.println("sourceWrap=" + Util.bytes2HexString(sourceWrap.array()));
byte[] bytes2 = api.SYD_SM4_LongData(iKeyIndex, sendBuff, iPkgNum, iFlag);
iPkgNum = 2;