LibDap-test
|
#include <stdint.h>
#include <stdlib.h>
#include <time.h>
Go to the source code of this file.
Functions | |
void | generate_random_byte_array (uint8_t *array, const size_t size, const int BYTE_SIZE) |
The function fills an array with random numbers. More... | |
void generate_random_byte_array | ( | uint8_t * | array, |
const size_t | size, | ||
const int | BYTE_SIZE | ||
) |
The function fills an array with random numbers.
[out] | array | Takes a pointer to an array |
[in] | size | Size of the array passed in the array parameter |
[in] | BYTE_SIZE | Takes the maximum value, range from zero to maximum |
The function fills an array with random integer non-negative values