Home | History | Annotate | Download | only in util

Lines Matching full:array

29   // Converts an array of big-endian bytes to a hex string.
30 // @param bytes an array of big-endian bytes
31 // @param length the length of the given byte array
32 // @return a hex string representing the given byte array
36 // Converts a hex string to an array of big-endian bytes. A new byte array
38 // The byte array must be freed using: delete[] bytes.
40 // @param bytes pointer to a byte array that will be created with the
42 // @return the number of bytes in the resulting byte array
46 // Converts an integer value to a big-endian array of bytes. A new byte array
48 // array. The byte array must be freed using: delete[] bytes.
50 // @param bytes pointer to a byte array that will be created with the 4-byte
51 // big-endian array
55 // Converts a big-endian array of bytes to an unsigned-integer. The given byte
56 // array must contain 4 bytes.
57 // @param bytes a big-endian array of bytes
58 // @return the unsigned integer representation of the given byte array
61 // Generates a random array of bytes with the given length. NULL is returned
62 // if a random number could not be generated. The returned array must be freed
65 // @return an array of random bytes of the given length