mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-25 15:10:18 +01:00
VarInt: remove superfluous and bizarrely named encodeBE method.
This commit is contained in:
parent
2f0dfd5c1b
commit
31a4c08615
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue