encode64

fnResult!(size_t, BidError) encode64(const Bid64 v, return scope ubyte[] dst) @safe nothrow @nogc

Writes a decimal64 value as 8 big-endian bytes (non-committing).

Parameters

vthe fields.
dstcaller-provided output buffer (≥ 8 bytes).

Returns

Result!(size_t, BidError): 8 on success; field errors as

documented on bitsOf64; INSUFFICIENT_CAPACITY leaves the buffer untouched.