public function encodeHexadecimal($integer, $options)
    {
        if ($options['hex.capitalize']) {
            return sprintf('%s0x%X', $this->sign($integer), abs($integer));
        }

        return sprintf('%s0x%x', $this->sign($integer), abs($integer));
    }