encoder.js
function encodeXREF( encoder, id ) {

	// Write opcode for 16-bit lookup 
	encoder.log(LOG.XREF, "xref="+id+" [" + encoder.stringLookup[id] + "]")
	encoder.stream8.write( pack1b( PRIM_OP.IMPORT, false ) );
	encoder.stream16.write( pack2b( id, false ) );
	encoder.counters.op_xref+=3;

}
function encodeXREF( encoder, id ) {

	// Write opcode for 16-bit lookup 
	encoder.log(LOG.XREF, "xref="+id+" [" + encoder.stringLookup[id] + "]")
	encoder.stream8.write( pack1b( PRIM_OP.IMPORT, false ) );
	encoder.stream16.write( pack2b( id, false ) );
	encoder.counters.op_xref+=3;

}
function encodeXREF ( encoder , id ) { // Write opcode for 16-bit lookup  encoder . log ( LOG . XREF , "xref=" + id + " [" + encoder . stringLookup [ id ] + "]" ) encoder . stream8 . write ( pack1b ( PRIM_OP . IMPORT , false ) ) ; encoder . stream16 . write ( pack2b ( id , false ) ) ; encoder . counters . op_xref += 3 ; }
Encode an 16-bit X-REF opcode
Encode an 16 - bit X - REF opcode