mirror of
https://github.com/php/doc-es.git
synced 2026-03-29 10:52:21 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@297032 c90b9560-bf6c-de11-be94-00142212c4b1
56 lines
1.5 KiB
XML
56 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: benjamin Status: ready -->
|
|
<!-- Reviewed: not -->
|
|
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.bin2hex">
|
|
<refnamediv>
|
|
<refname>bin2hex</refname>
|
|
<refpurpose>Convierte datos binarios en su representación hexadecimal</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description"> &reftitle.description; <methodsynopsis>
|
|
<type>string</type>
|
|
<methodname>bin2hex</methodname>
|
|
<methodparam>
|
|
<type>string</type>
|
|
<parameter>str</parameter>
|
|
</methodparam>
|
|
</methodsynopsis>
|
|
<para> Devuelve una cadena ASCII que contiene la representación hexadecimal de
|
|
<parameter>str</parameter>. La conversión se realiza byte a byte, con los 4 bits superiores
|
|
primero. </para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters"> &reftitle.parameters; <para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>
|
|
<parameter>str</parameter>
|
|
</term>
|
|
<listitem>
|
|
<para> Un carácter. </para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Devuelve la representación
|
|
hexadecimal de la cadena dada. </para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso"> &reftitle.seealso; <para>
|
|
<simplelist>
|
|
<member>
|
|
<function>pack</function>
|
|
</member>
|
|
<member>
|
|
<function>unpack</function>
|
|
</member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|