PHP code example of arokettu / rfc1751

1. Go to this page and download the library: Download arokettu/rfc1751 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

arokettu / rfc1751 example snippets




\Arokettu\Rfc1751\Rfc1751::encode("\x01\x23\x45\x67\x89\xab\xcd\xef");
// = 'AIM HEW BLUM FED MITE WARM'
\Arokettu\Rfc1751\Rfc1751::decode('AIM HEW BLUM FED MITE WARM');
// = "\x01\x23\x45\x67\x89\xab\xcd\xef"