Download this file

listmem.h    12 lines (8 with data), 354 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#ifndef _LISTMEM_H_INCLUDED_
#define _LISTMEM_H_INCLUDED_
#include <ostream>
enum ListmemOpts {LISTMEM_SWAP16 = 1, LISTMEM_SWAP32 = 2};
/// @param startadr starting value for offset listings on the right
extern void listmem(std::ostream&, const void *ptr, int sz,
int startadr = 0, int opts = 0);
#endif /* _LISTMEM_H_INCLUDED_ */