mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 14:50:57 +01:00
Utils: Remove unused and untested appendByte() helper.
This commit is contained in:
parent
8295afc03b
commit
0fd8ab3fa2
1 changed files with 0 additions and 9 deletions
|
@ -408,15 +408,6 @@ public class Utils {
|
|||
return out;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a copy of bytes and appends b to the end of it
|
||||
*/
|
||||
public static byte[] appendByte(byte[] bytes, byte b) {
|
||||
byte[] result = Arrays.copyOf(bytes, bytes.length + 1);
|
||||
result[result.length - 1] = b;
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to parse the given string as arbitrary-length hex or base58 and then return the results, or null if
|
||||
* neither parse was successful.
|
||||
|
|
Loading…
Add table
Reference in a new issue