forked from TrueCloudLab/frostfs-sdk-java
[#1] Define SDK structure, add operations with container and object
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
parent
04bf8249c2
commit
2481774545
80 changed files with 6315 additions and 0 deletions
12
cryptography/src/main/java/info/FrostFS/sdk/ArrayHelper.java
Normal file
12
cryptography/src/main/java/info/FrostFS/sdk/ArrayHelper.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
package info.FrostFS.sdk;
|
||||
|
||||
public class ArrayHelper {
|
||||
|
||||
public static byte[] concat(byte[] startArray, byte[] endArray) {
|
||||
byte[] result = new byte[startArray.length + endArray.length];
|
||||
|
||||
System.arraycopy(startArray, 0, result, 0, startArray.length);
|
||||
System.arraycopy(endArray, 0, result, startArray.length, endArray.length);
|
||||
return result;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue