Document.buildKey

Append the key to the buffer

struct Document
@trusted static pure
void
buildKey
(
Key
)
(
ref ubyte[] buffer
,,
Key key
,
ref size_t index
)
if (
is(Key : const(char[])) ||
is(Key == uint)
)

Parameters

buffer ubyte[]

is the target buffer

type Type

is the HiBON type

key Key

is the member key

index size_t

is offset index in side the buffer and index with be progressed

Meta