getid3_lib::LittleEndian2String

Advertisement

Syntax Syntax

getid3_lib::LittleEndian2String( int $number, int $minbytes = 1, bool $synchsafe = false )

Parameters Parameters

$number

(Required)

$minbytes

(Optional)

Default value: 1

$synchsafe

(Optional)

Default value: false

Return Return

(string)

Source Source

File: wp-includes/ID3/getid3.lib.php

			if ($synchsafe) {
				$intstring = $intstring.chr($number & 127);
				$number >>= 7;
			} else {
				$intstring = $intstring.chr($number & 255);
				$number >>= 8;
			}
		}
		return str_pad($intstring, $minbytes, "\x00", STR_PAD_RIGHT);
	}

	/**
	 * @param mixed $array1

Advertisement

Advertisement

Leave a Reply