mecca.containers.arrays

@safe @nogc arrays

Members

Aliases

FixedString
alias FixedString(size_t N) = FixedArray!(char, N, false)

A nogc mutable char array (string)

Functions

setStringzLength
void setStringzLength(FixedArray!(char, N, false) str)

Shorten a null terminated FixedString to be the size of the actual string (without the null)

Structs

FixedArray
struct FixedArray(T, size_t N, bool InitializeMembers = true)

A variable size array with a fixed maximal capacity

Meta