Public Member Functions | Private Attributes | Friends | List of all members
cHexByteString Class Reference

dummy class for (debug) stream output of bytes as list of hex values More...

#include <dbg.h>

Public Member Functions

 cHexByteString (char const *_bytes, int _len)
 ctor: create a cHexByteString with _len bytes at _bytes More...
 

Private Attributes

char const * bytes
 
int len
 

Friends

VCC_EXPORT std::ostream & operator<< (std::ostream &stream, cHexByteString const &s)
 output the bytes in s to stream as a list of space separated hex bytes (without 0x prefix) More...
 

Detailed Description

dummy class for (debug) stream output of bytes as list of hex values

Definition at line 329 of file dbg.h.

Constructor & Destructor Documentation

◆ cHexByteString()

cHexByteString::cHexByteString ( char const *  _bytes,
int  _len 
)
inline

ctor: create a cHexByteString with _len bytes at _bytes

Definition at line 335 of file dbg.h.

Friends And Related Function Documentation

◆ operator<<

VCC_EXPORT std::ostream& operator<< ( std::ostream &  stream,
cHexByteString const &  s 
)
friend

output the bytes in s to stream as a list of space separated hex bytes (without 0x prefix)

Definition at line 344 of file dbg.h.

Member Data Documentation

◆ bytes

char const* cHexByteString::bytes
private

Definition at line 331 of file dbg.h.

◆ len

int cHexByteString::len
private

Definition at line 332 of file dbg.h.


The documentation for this class was generated from the following file:


sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Mon Feb 28 2022 23:41:52