Home
last modified time | relevance | path

Searched refs:binstring (Results 1 – 4 of 4) sorted by relevance

/plugin/jukebox/id3/
H A Dgetid3.lib.php311 $binstring = '';
313 …$binstring = (($i == count($bytes) - 1) ? decbin($bytes[$i]) : str_pad(decbin($bytes[$i]), 8, '0',…
315 return $binstring;
319 function Bin2Dec($binstring, $signed=false) { argument
322 if ($binstring{0} == '1') {
325 $binstring = substr($binstring, 1);
328 for ($i = 0; $i < strlen($binstring); $i++) {
329 $decvalue += ((int) substr($binstring, strlen($binstring) - $i - 1, 1)) * pow(2, $i);
335 function Bin2String($binstring) { argument
338 $binstringreversed = strrev($binstring);
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dgetid3.lib.php435 $binstring = '';
437 …$binstring = (($i == count($bytes) - 1) ? decbin($bytes[$i]) : str_pad(decbin($bytes[$i]), 8, '0',…
439 return $binstring;
443 * @param string $binstring
451 if ($binstring[0] == '1') {
454 $binstring = substr($binstring, 1);
457 for ($i = 0; $i < strlen($binstring); $i++) {
458 $decvalue += ((int) substr($binstring, strlen($binstring) - $i - 1, 1)) * pow(2, $i);
464 * @param string $binstring
468 public static function Bin2String($binstring) { argument
[all …]
/plugin/photogallery/phpThumb/
H A Dphpthumb.bmp.php840 public function Bin2Dec($binstring, $signed=false) { argument
843 if ($binstring[0] == '1') {
846 $binstring = substr($binstring, 1);
849 for ($i = 0, $iMax = strlen($binstring); $i < $iMax; $i++) {
850 $decvalue += ((int) $binstring[ strlen($binstring) - $i - 1 ]) * pow(2, $i);
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
H A Ddemo.mp3header.php473 $binstring = '';
475 …$binstring = (($i == count($bytes) - 1) ? decbin($bytes[$i]) : str_pad(decbin($bytes[$i]), 8, '0',…
477 return $binstring;
482 function Bin2Dec($binstring) { argument
484 for ($i = 0; $i < strlen($binstring); $i++) {
485 $decvalue += ((int) substr($binstring, strlen($binstring) - $i - 1, 1)) * pow(2, $i);
492 function Bin2String($binstring) { argument
495 $binstringreversed = strrev($binstring);