WordPress at a glance
function is not described

getid3_quicktime::NoNullString() public WP 1.0

{} It's a method of the class: getid3_quicktime{}

No Hooks.

Return

String.

Usage

$getid3_quicktime = new getid3_quicktime();
$getid3_quicktime->NoNullString( $nullterminatedstring );
$nullterminatedstring(string) (required)
-

Code of getid3_quicktime::NoNullString() WP 5.7.2

<?php
public function NoNullString($nullterminatedstring) {
	// remove the single null terminator on null terminated strings
	if (substr($nullterminatedstring, strlen($nullterminatedstring) - 1, 1) === "\x00") {
		return substr($nullterminatedstring, 0, strlen($nullterminatedstring) - 1);
	}
	return $nullterminatedstring;
}