| java.lang.Object com.sun.mmedia.FormatConversionUtils
FormatConversionUtils | final public class FormatConversionUtils (Code) | | Utility class that provides various array conversion
|
byteArrayToIntArray | public static int[] byteArrayToIntArray(byte[] bytes)(Code) | | Converts image byte[] xRGB array (4 bytes per pixel)
to int[] array (32-bit per pixel),
int<->byte[4] conversion is platform specific !
Parameters: bytes - byte array to convert same array but converted to int[] (in big-endian format) |
intArrayToByteArray | public static byte[] intArrayToByteArray(int[] ints)(Code) | | Converts image int[] array (32-bit per pixel)
to byte[] xRGB array (4 bytes per pixel)
int<->byte[4] conversion is platform specific !
Parameters: ints - integer array to convert same array but converted to byte[] (in big-endian format) |
stringArrayCopy | public static String[] stringArrayCopy(String[] array)(Code) | | Creates a copy of a string array.
Primary usage of this method is to create copies of
preset, parameter, metadata and other arrays, returned to user.
Parameters: array - String array to copy copy of array |
|
|