18 assert (digit >= 0 && digit <= 15);
26 static inline void do_indent (std::ostream &target,
int amount) {
27 for (
int i = 0; i < amount; i++) {
36 static inline void do_newline (std::ostream &target,
int amount) {
Serialization and parsing library.
Definition: mediaunit.h:26
const char hex_digits[]
Digits used for encoding/decoding hexadecimal.
Definition: parsnip_types.cpp:19
static void do_newline(std::ostream &target, int amount)
Write a newline to a stream.
Definition: parsnip_helpers.h:36
static void do_indent(std::ostream &target, int amount)
Generate some indentation.
Definition: parsnip_helpers.h:26
static char hexdigit(int digit)
Helper function: Retrieve a hexadecimal digit.
Definition: parsnip_helpers.h:17