Package org.kissweb
Class ArrayUtils
java.lang.Object
org.kissweb.ArrayUtils
Utility methods to help deal with arrays.
Author: Blake McBride
Date: 11/5/23
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
toPrimitiveByteArray
(Byte[] byteObjects) Converts a Byte array to a byte array.static Byte[]
toWrapperByteArray
(byte[] bytesPrimitive) Converts a byte array to a Byte array.
-
Constructor Details
-
ArrayUtils
public ArrayUtils()
-
-
Method Details
-
toPrimitiveByteArray
Converts a Byte array to a byte array.- Parameters:
byteObjects
- The Byte array to convert.- Returns:
- A primitive byte array corresponding to the Byte array.
-
toWrapperByteArray
Converts a byte array to a Byte array.- Parameters:
bytesPrimitive
- The primitive byte array to convert.- Returns:
- A Byte array corresponding to the primitive byte array.
-