|
PST File Format SDK v0.4
|
General utility functions and classes. More...
#include <cstdio>#include <cstdlib>#include <time.h>#include <memory>#include <string>#include <vector>#include <boost/utility.hpp>#include "pstsdk/util/errors.h"#include "pstsdk/util/primitives.h"#include <iconv.h>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | pstsdk::file |
| A generic class to read and write to a file. More... | |
Namespaces | |
| namespace | pstsdk |
| Contains the definition of all in memory representations of disk structures. | |
Functions | |
| time_t | pstsdk::filetime_to_time_t (ulonglong filetime) |
| Convert from a filetime to time_t. | |
| ulonglong | pstsdk::time_t_to_filetime (time_t time) |
| Convert from a time_t to filetime. | |
| time_t | pstsdk::vt_date_to_time_t (double vt_time) |
| Convert from a VT_DATE to a time_t. | |
| double | pstsdk::time_t_to_vt_date (time_t time) |
| Convert from a time_t to a VT_DATE. | |
| bool | pstsdk::test_bit (const byte *pbytes, ulong bit) |
| Test to see if the specified bit in the buffer is set. | |
| std::string | pstsdk::bytes_to_string (const std::vector< byte > &bytes) |
| Convert an array of bytes to a std::wstring. | |
| std::wstring | pstsdk::bytes_to_wstring (const std::vector< byte > &bytes) |
| Convert an array of bytes to a std::wstring. | |
| std::vector< byte > | pstsdk::wstring_to_bytes (const std::wstring &wstr) |
| Convert a std::wstring to an array of bytes. | |
General utility functions and classes.
This is where any generalized utility classes and functions go which are not directly related to MS-PST in some fashion. It is my hope that this file stay as small as possible.
Definition in file util.h.