3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-14 11:15:51 +00:00

VarInt: remove superfluous and bizarrely named encodeBE method.

This commit is contained in:
Mike Hearn 2013-10-15 18:34:17 +02:00
parent 2f0dfd5c1b
commit 31a4c08615

View File

@ -97,11 +97,6 @@ public class VarInt {
}
public byte[] encode() {
return encodeBE();
}
public byte[] encodeBE() {
if (isLessThanUnsigned(value, 253)) {
return new byte[]{(byte) value};
} else if (isLessThanUnsigned(value, 65536)) {