to_ascii_with overloads
Declared in <folly/lang/ToAscii.h>
Write the base-Base digits of v, translated by Alphabet, into a fixed-size buffer.
template<
uint64_t Base,
typename Alphabet,
size_t N>
size_t
to_ascii_with(
char(& out)[],
uint64_t v);
» more...
Write the base-Base digits of v, translated by Alphabet, into [outb, oute).]
template<
uint64_t Base,
typename Alphabet>
size_t
to_ascii_with(
char* outb,
char const* oute,
uint64_t v);
» more...
The number of bytes written
| Name | Description |
|---|---|
| out | Fixed-size output buffer to write into |
| v | Value to encode |
| outb | Start of the output buffer |
| oute | End of the output buffer |