isLittleEndian()
isLittleEndian() : boolean
Determine if the current machine is little endian.
Returns
boolean —True if endianness is little endian, otherwise false.
Utility functions for dealing with Microsoft MAPI structures.
Copyright 2009-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
getUidFromGoid(string $goid) : string
Obtain the UID from a MAPI GOID.
See http://msdn.microsoft.com/en-us/library/hh338153%28v=exchg.80%29.aspx
string | $goid | Base64 encoded Global Object Identifier. |
The UID
filetimeToUnixtime(string $ft) : integer
Converts a Windows FILETIME value to a unix timestamp.
Adapted from: http://stackoverflow.com/questions/610603/help-me-translate-long-value-expressed-in-hex-back-in-to-a-date-time
string | $ft | Binary representation of FILETIME from a pTypDate MAPI property. |
The unix timestamp.