Method | Description | |
---|---|---|
chbo ( integer $num ) : integer | Change the byte order of a number. Used to allow big endian machines to decode the timezone blobs, which are encoded in little endian order. | |
createGoid ( string $uid, $options = [] ) : string | Create a MAPI GOID from a UID See http://msdn.microsoft.com/en-us/library/ee157690%28v=exchg.80%29 | |
filetimeToUnixtime ( string $ft ) : integer | Converts a Windows FILETIME value to a unix timestamp. | |
getUidFromGoid ( string $goid ) : string | Obtain the UID from a MAPI GOID. | |
isLittleEndian ( ) : boolean | Determine if the current machine is little endian. |
Method | Description | |
---|---|---|
_flipEndian ( $str ) | swap little-endian to big-endian | |
_hexToBcint ( $str ) | convert hex string to BC-int | |
_win64ToUnix ( Math_BigInteger $bci ) : string |
protected static _flipEndian ( $str ) |
protected static _hexToBcint ( $str ) |
protected static _win64ToUnix ( Math_BigInteger $bci ) : string | ||
$bci | Math_BigInteger | |
return | string |
public static createGoid ( string $uid, $options = [] ) : string | ||
$uid | string | The UID value to encode. |
return | string | A Base64 encoded GOID |
public static filetimeToUnixtime ( string $ft ) : integer | ||
$ft | string | Binary representation of FILETIME from a pTypDate MAPI property. |
return | integer | The unix timestamp. |
public static getUidFromGoid ( string $goid ) : string | ||
$goid | string | Base64 encoded Global Object Identifier. |
return | string | The UID |
public static isLittleEndian ( ) : boolean | ||
return | boolean | True if endianness is little endian, otherwise false. |