
com.azure.security.keyvault.keys.models.webkey.ByteExtensions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-keyvault-keys Show documentation
Show all versions of azure-keyvault-keys Show documentation
This module contains client library for Microsoft Azure KeyVault Keys.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.security.keyvault.keys.models.webkey;
class ByteExtensions {
/**
* Creates a copy of the source array.
* @param source The Array to make copy of
* @return A copy of the array, or null if source was null.
*/
static byte[] clone(byte[] source) {
if (source == null) {
return null;
}
byte[] copy = new byte[source.length];
System.arraycopy(source, 0, copy, 0, source.length);
return copy;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy