mirror of
https://github.com/Zygo/bees.git
synced 2025-08-03 22:33:28 +02:00
bytevector: add ostream output with hexdump
There is a hexdump template in fs. Move hexdump to its own header, then ByteVector can use it too. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define _CRUCIBLE_BYTEVECTOR_H_
|
||||
|
||||
#include <memory>
|
||||
#include <ostream>
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
@@ -66,6 +67,7 @@ namespace crucible {
|
||||
return reinterpret_cast<T*>(data());
|
||||
}
|
||||
|
||||
ostream & operator<<(ostream &os, const ByteVector &bv);
|
||||
}
|
||||
|
||||
#endif // _CRUCIBLE_BYTEVECTOR_H_
|
||||
|
Reference in New Issue
Block a user