folly::to_ascii_with

Write the base-Base digits of v, translated by Alphabet, into a fixed-size buffer.

Synopsis

Declared in <folly/lang/ToAscii.h>

template<
    uint64_t Base,
    typename Alphabet,
    size_t N>
size_t
to_ascii_with(
    char(& out)[],
    uint64_t v);

Return Value

The number of bytes written

Parameters

NameDescription
outFixed-size output buffer to write into
vValue to encode