src/core/framework/core/3rdparty/ezcomponents/Mail/src/transports/smtp/smtp_transport.php
protected function authNtlmSecurityBuffer( $text, $offset )
    {
        return pack( 'v', strlen( $text ) ) .
               pack( 'v', strlen( $text ) ) .
               pack( 'V', $offset );
    }
protected function authNtlmSecurityBuffer( $text, $offset )
    {
        return pack( 'v', strlen( $text ) ) .
               pack( 'v', strlen( $text ) ) .
               pack( 'V', $offset );
    }
protected function authNtlmSecurityBuffer ( $ text , $ offset ) { return pack ( 'v' , strlen ( $ text ) ) . pack ( 'v' , strlen ( $ text ) ) . pack ( 'V' , $ offset ) ; }
Creates an NTLM security buffer information string.

The structure of the security buffer is:
- a short containing the length of the buffer content in bytes (may be
zero).
- a short containing the allocated space for the buffer in bytes (greater
than or equal to the length; typically the same as the length).
- a long containing the offset to the start of the buffer in bytes (from
the beginning of the NTLM message).

Example:
- buffer content length: 1234 bytes (0xd204 in hexa)
- allocated space: 1234 bytes( 0xd204 in hexa)
- offset: 4321 bytes (0xe1100000 in hexa)

then the security buffer would be 0xd204d204e1100000 (in hexa).

@param string $text
@param int $offset
@return string
Creates an NTLM security buffer information string .