mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
solve meaven error & writing encoder ...
This commit is contained in:
1 parent
4877609b75
commit
faf17d314c
7 files changed
+205
-14
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package main.java.encoding;
|
||||
package encoding;
|
||||
|
||||
|
||||
import main.java.util.ByteHelper;
|
||||
import util.ByteHelper;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
||||
@@ -171,6 +171,15 @@ public class VlInt {
|
||||
return this.VlIntValue.subtract(vlInt.VlIntValue).intValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加VlInt
|
||||
* @param vlInt
|
||||
* @return
|
||||
*/
|
||||
public int add(VlInt vlInt){
|
||||
return this.VlIntValue.add(vlInt.VlIntValue).intValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* 将BigInteger转为byte[按照变长无符号整数方式转]
|
||||
* @param bigInteger
|
||||
|
||||
Reference in new issue
Block a user