writeUIntToBuffer

Helper function to append an unsigned integer value to a char buffer. It is assumed that there's enough space to write the value.

void
writeUIntToBuffer
(
uint value
,
char[] buffer
,
ref size_t idx
)

Parameters

value uint

The value to append.

buffer char[]

The buffer to append to.

idx size_t

A reference to a variable tracking the next writable index in the buffer.