1#ifndef BACKENDS_P4TOOLS_COMMON_LIB_FORMAT_INT_H_
2#define BACKENDS_P4TOOLS_COMMON_LIB_FORMAT_INT_H_
9#include "lib/big_int_util.h"
35std::string formatBinOrHex(
const big_int &value,
39std::string
formatBin(
const big_int &value,
int width,
46std::string
formatHex(
const big_int &value,
int width,
76std::string
insertSeparators(
const std::string &dataStr,
const std::string &separator =
"\\x",
77 size_t stride = 2,
bool skipFirst =
false);
90 bool padLeft =
false);