Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
SerializeItemToBLOB.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Foundation_Streams_iostream_SerializeItemToBLOB_h_
5#define _Stroika_Foundation_Streams_iostream_SerializeItemToBLOB_h_ 1
6
7#include "Stroika/Foundation/StroikaPreComp.h"
8
9#include <iostream>
10
12
13/**
14 */
15
17
18 /**
19 * Handy utility to convert an element to a string representation, and then
20 * to a BLOB (for the purpose of encption, or digest or whatever).
21 *
22 * @todo this is NOT well defined (utf8 or wide characters??? - define that it uses
23 * stringstream
24 */
25 template <typename T>
26 Memory::BLOB SerializeItemToBLOB (const T& elt);
27
28}
29
30/*
31 ********************************************************************************
32 ***************************** Implementation Details ***************************
33 ********************************************************************************
34 */
35#include "SerializeItemToBLOB.inl"
36
37#endif /*_Stroika_Foundation_Streams_iostream_SerializeItemToBLOB_h_*/
Memory::BLOB SerializeItemToBLOB(const T &elt)