diff options
Diffstat (limited to 'binparse/output.cpp')
| -rw-r--r-- | binparse/output.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binparse/output.cpp b/binparse/output.cpp index 78babd8..16447a7 100644 --- a/binparse/output.cpp +++ b/binparse/output.cpp @@ -43,6 +43,11 @@ std::ostream& operator<<(std::ostream& os, Offset32 o) { return os << std::hex << std::setw(sizeof(o) * 2) << std::setfill('0') << static_cast<uint32_t>(o); } +std::ostream&operator<<(std::ostream& os, PString8 s) +{ + return os << "(" << std::string(s).size() << ") " << std::string(s); +} + std::ostream&operator<<(std::ostream& os, std::array<uint8_t, 8> a) { return os; |
