public static function opaqueFixedString($xdr, $length)
    {
        $bytes = static::opaqueFixed($xdr, $length);

        // remove trailing nulls
        return strval(rtrim($bytes, "\0x00"));
    }
public static function opaqueFixedString($xdr, $length)
    {
        $bytes = static::opaqueFixed($xdr, $length);

        // remove trailing nulls
        return strval(rtrim($bytes, "\0x00"));
    }
public static function opaqueFixedString ( $ xdr , $ length ) { $ bytes = static :: opaqueFixed ( $ xdr , $ length ) ; // remove trailing nulls return strval ( rtrim ( $ bytes , "\0x00" ) ) ; }
Reads a fixed opaque value and returns it as a string

@param $xdr
@param $length
@return string
Reads a fixed opaque value and returns it as a string