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:
parent
2f0dfd5c1b
commit
31a4c08615
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user