Document.buildKey

Append the key to the buffer @param buffer = is the target buffer @param type = is the HiBON type @param key = is the member key @param index = is offset index in side the buffer and index with be progressed

struct Document
static
void
buildKey
(
K
)
(
ref BinBuffer buffer
,,
const K key
)
if (
is(K : const(char[])) ||
is(K == uint)
)