src/core/common/random.hpp
inline void FillBuffer(uint8_t *aBuffer, uint16_t aSize)
{
    while (aSize-- != 0)
    {
        *aBuffer++ = GetUint8();
    }
}
/**
 * This function fills a given buffer with random bytes.
 *
 * @param[out] aBuffer  A pointer to a buffer to fill with the random bytes.
 * @param[in]  aSize    Size of buffer (number of bytes to fill).
 *
 */
This function fills a given buffer with random bytes.
@param[out] aBuffer  A pointer to a buffer to fill with the random bytes.
@param[in]  aSize    Size of buffer (number of bytes to fill).
This function fills a given buffer with random bytes . @param [ out ] aBuffer A pointer to a buffer to fill with the random bytes . @param [ in ] aSize Size of buffer ( number of bytes to fill ) .
inline void FillBuffer(uint8_t *aBuffer, uint16_t aSize)
{
    while (aSize-- != 0)
    {
        *aBuffer++ = GetUint8();
    }
}
inline void FillBuffer ( uint8_t * aBuffer , uint16_t aSize ) { while ( aSize -- != 0 ) { * aBuffer ++ = GetUint8 ( ) ; } }
This function fills a given buffer with random bytes.
This function fills a given buffer with random bytes .