mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
solve merge error(about java packet name)
This commit is contained in:
1 parent
84ae7d1443
commit
4877609b75
6 files changed
+18
-15
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package encoding;
|
||||
package main.java.encoding;
|
||||
|
||||
import util.ByteHelper;
|
||||
|
||||
import main.java.util.ByteHelper;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
||||
@@ -39,7 +40,7 @@ public class VlInt {
|
||||
return SizeOfVarNumber(this.VlIntValue);
|
||||
}
|
||||
private static int SizeOfVarNumber(BigInteger bigInteger){
|
||||
if(bigInteger.compareTo(BigInteger.valueOf(Long.parseLong("241"))) < 0){
|
||||
if(bigInteger.compareTo(BigInteger.valueOf(241)) < 0){
|
||||
return 1;
|
||||
}else if(bigInteger.compareTo(BigInteger.valueOf(
|
||||
new Double(pow(2, 16)).longValue())) < 0){
|
||||
|
||||
Reference in new issue
Block a user