ATLAS Offline Software
Loading...
Searching...
No Matches
Control
CxxUtils
CxxUtils
hexdump.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef CXXUTILS_HEXDUMP_H
14
#define CXXUTILS_HEXDUMP_H
15
16
17
#include <ostream>
18
19
20
namespace
CxxUtils
{
21
22
31
void
hexdump
(std::ostream& s,
const
void
* addr,
size_t
n,
size_t
offset = 0);
32
33
46
void
safeHexdump
(std::ostream& s,
const
void
* addr,
size_t
n,
size_t
offset = 0);
47
48
49
}
// namespace CxxUtils
50
51
52
#endif
// not CXXUTILS_HEXDUMP_H
CxxUtils
Definition
aligned_vector.h:29
CxxUtils::hexdump
void hexdump(std::ostream &s, const void *addr, size_t n, size_t offset=0)
Make a hex dump of memory.
Definition
hexdump.cxx:37
CxxUtils::safeHexdump
void safeHexdump(std::ostream &s, const void *addr, size_t n, size_t offset=0)
Make a hex dump of memory, protected against bad reads.
Definition
hexdump.cxx:104
Generated on
for ATLAS Offline Software by
1.14.0