|
CBMC
|
Include dependency graph for irep_serialization.cpp:Go to the source code of this file.
Functions | |
| void | write_gb_word (std::ostream &out, std::size_t u) |
Write 7 bits of u each time, least-significant byte first, until we have zero. More... | |
| void | write_gb_string (std::ostream &out, const std::string &s) |
| outputs the string and then a zero byte. More... | |
binary irep conversions with hashing
Definition in file irep_serialization.cpp.
| void write_gb_string | ( | std::ostream & | out, |
| const std::string & | s | ||
| ) |
outputs the string and then a zero byte.
| out | output stream |
| s | string to output |
Definition at line 182 of file irep_serialization.cpp.
| void write_gb_word | ( | std::ostream & | out, |
| std::size_t | u | ||
| ) |
Write 7 bits of u each time, least-significant byte first, until we have zero.
| out | target stream |
| u | number to write |
Definition at line 134 of file irep_serialization.cpp.