dplug.core.random

@nogc random numbers and UUID generation.

Members

Functions

generateNullTerminatedRandomUUID
void generateNullTerminatedRandomUUID(CharType[] buffer, const(CharType)[] prefix)

Generate a zero-terminated string with concatenated prefix and an UUDI. Random UUID generation is often used to generate names like this.

generateRandomUUID
UUID generateRandomUUID()

Generates a random UUID.

Meta

Authors

Guillaume Piolat Johannes Pfau Andrei Alexandrescu