ATLAS Offline Software
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  */
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::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
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
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
beamspotman.n
n
Definition: beamspotman.py:731
CxxUtils
Definition: aligned_vector.h:29
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71