hex16 ( $value )

Hex16-pack the data.

Access

protected

Parameters

Parameter

Type

Required

Description

$value

string

Required

The data to hex16 pack.

Returns

Type

Description

string

The hex16-packed data.

Source

Method defined in authentication/signature_v4json.class.php | Toggle source view (5 lines) | View on GitHub

protected function hex16($value)
{
    $result = unpack('H*', $value);
    return reset($result);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback