P4C
The P4 Compiler
|
Static Public Member Functions | |
static unsigned | ebpfTypeWidth (P4::TypeMap *typeMap, const IR::Expression *expr) |
return real number of bits required by type | |
static cstring | genHexStr (const big_int &value, unsigned width, const IR::Expression *expr) |
Generate hex string and prepend it with zeroes when shorter than required width. | |