public class ArrayUtil extends Object
Summary description for ArrayUtil.
| Constructor and Description |
|---|
ArrayUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fill(byte[] arr,
int offset,
int length,
byte value) |
static void |
fill(char[] arr,
int offset,
int length,
char value) |
static void |
fill(float[] arr,
int offset,
int length,
float value) |
static byte[] |
toByteArray(byte[] sbyteArray) |
static byte[] |
toByteArray(String sourceString)
Converts a string to an array of bytes
|
static byte[] |
toSByteArray(byte[] byteArray) |
static String |
toStringOfBits(int value) |
public static void fill(byte[] arr,
int offset,
int length,
byte value)
public static void fill(float[] arr,
int offset,
int length,
float value)
public static void fill(char[] arr,
int offset,
int length,
char value)
public static byte[] toByteArray(byte[] sbyteArray)
public static byte[] toSByteArray(byte[] byteArray)
public static byte[] toByteArray(String sourceString)
Converts a string to an array of bytes
sourceString - The string to be convertedpublic static String toStringOfBits(int value)
Copyright © 2016 Aspose. All Rights Reserved.