ReadLong

The WooCommerce PDF & Print ReadLong function.

Description

ReadLong( $f ); 

Parameters (1)

0. $f
The f.

Usage

  1. if ( !function_exists( 'ReadLong' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-pdf-print/pdf/font/makefont/makefont.php'; 
  3.  
  4. // The f. 
  5. $f = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ReadLong($f); 
  9.  

Defined (1)

The function is defined in the following location(s).

/pdf/font/makefont/makefont.php  
  1. function ReadLong($f) 
  2. $a=unpack('N1N', fread($f, 4)); 
  3. return $a['N'];