O
Olaf van der Spek
Hi,
I've got a lot of functions (compression, encryption, hashing,
encoding, etc) that work on a memory range.
I wrote my own class that has constructors for
void*, void*
void*, size_t
std::string&
and that automatically reinterpret_cast to unsigned char*.
But I'm wondering, is there a standard C++ or Boost class that already
does this?
Or is there a better way to do this?
I've got a lot of functions (compression, encryption, hashing,
encoding, etc) that work on a memory range.
I wrote my own class that has constructors for
void*, void*
void*, size_t
std::string&
and that automatically reinterpret_cast to unsigned char*.
But I'm wondering, is there a standard C++ or Boost class that already
does this?
Or is there a better way to do this?