encoder.js
function( buffer, name, mime_type ) {

		// Write control operation
		this.stream8.write( pack1b( CTRL_OP.EMBED ) );
		this.counters.op_ctr++;
		// Write string ID from the string lookup table
		this.stream16.write( pack2b( this.stringID(this.bundleName + "/" + name) ) );
		this.counters.ref_str+=2;
		// Encode primitive
		encodePrimitive( this, new BlobResource( buffer, mime_type) );
		
	}
function( buffer, name, mime_type ) {

		// Write control operation
		this.stream8.write( pack1b( CTRL_OP.EMBED ) );
		this.counters.op_ctr++;
		// Write string ID from the string lookup table
		this.stream16.write( pack2b( this.stringID(this.bundleName + "/" + name) ) );
		this.counters.ref_str+=2;
		// Encode primitive
		encodePrimitive( this, new BlobResource( buffer, mime_type) );
		
	}
function ( buffer , name , mime_type ) { // Write control operation this . stream8 . write ( pack1b ( CTRL_OP . EMBED ) ) ; this . counters . op_ctr ++ ; // Write string ID from the string lookup table this . stream16 . write ( pack2b ( this . stringID ( this . bundleName + "/" + name ) ) ) ; this . counters . ref_str += 2 ; // Encode primitive encodePrimitive ( this , new BlobResource ( buffer , mime_type ) ) ; }
Embed specified blob
Embed specified blob