Add hex transformation (RFE #1100068).

This commit is contained in:
Michal Čihař
2005-06-24 14:28:00 +00:00
parent b624aa1427
commit f17936c497
119 changed files with 533 additions and 402 deletions

View File

@@ -0,0 +1,12 @@
<?php
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
function PMA_transformation_application_octetstream__hex($buffer, $options = array(), $meta = '') {
// possibly use a global transform and feed it with special options:
// include('./libraries/transformations/global.inc.php');
return chunk_split(bin2hex($buffer), 2, ' ');
}
?>