arrayCloneBytes -> copyBytes
This commit is contained in:
parent
10a2fa5656
commit
c01411ac52
@ -244,11 +244,11 @@ public class Sys {
|
|||||||
return baos.toByteArray();
|
return baos.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final byte[] arrayCloneBytes(byte[] src) {
|
public static final byte[] copyBytes(byte[] src) {
|
||||||
return arrayCloneBytes(src, 0);
|
return copyBytes(src, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final byte[] arrayCloneBytes(byte[] src, int position) {
|
public static final byte[] copyBytes(byte[] src, int position) {
|
||||||
int length = src.length - position;
|
int length = src.length - position;
|
||||||
|
|
||||||
byte[] b = new byte[length];
|
byte[] b = new byte[length];
|
||||||
|
Loading…
Reference in New Issue
Block a user