ReadShort

The WooCommerce PDF & Print ReadShort function.

Description

ReadShort( $f ); 

Parameters (1)

0. $f
The f.

Usage

  1. if ( !function_exists( 'ReadShort' ) ) { 
  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 = ReadShort($f); 
  9.  

Defined (1)

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

/pdf/font/makefont/makefont.php  
  1. function ReadShort($f) 
  2. $a=unpack('n1n', fread($f, 2)); 
  3. return $a['n'];