Class EncodingUtils
java.lang.Object
org.springframework.security.crypto.util.EncodingUtils
Static helper for encoding data.
 
For internal use only.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]concatenate(byte[]... arrays) Combine the individual byte arrays into one array.static byte[]subArray(byte[] array, int beginIndex, int endIndex) Extract a sub array of bytes out of the byte array. 
- 
Method Details
- 
concatenate
public static byte[] concatenate(byte[]... arrays) Combine the individual byte arrays into one array. - 
subArray
public static byte[] subArray(byte[] array, int beginIndex, int endIndex) Extract a sub array of bytes out of the byte array.- Parameters:
 array- the byte array to extract frombeginIndex- the beginning index of the sub array, inclusiveendIndex- the ending index of the sub array, exclusive
 
 -