encoder.js
function encodeEmbeddedBlobBuffer( encoder, buffer_type, buffer, mime_type ) {
	// Get MIME And payload
	var mime_id = encoder.stringID( mime_type );

	// Write buffer header
	encoder.log(LOG.EMB,"file=[blob]', mime="+mime+", len="+buffer.length);
	encodeBuffer( encoder, buffer_type, mime_id, buffer );

}
function encodeEmbeddedBlobBuffer( encoder, buffer_type, buffer, mime_type ) {
	// Get MIME And payload
	var mime_id = encoder.stringID( mime_type );

	// Write buffer header
	encoder.log(LOG.EMB,"file=[blob]', mime="+mime+", len="+buffer.length);
	encodeBuffer( encoder, buffer_type, mime_id, buffer );

}
function encodeEmbeddedBlobBuffer ( encoder , buffer_type , buffer , mime_type ) { // Get MIME And payload var mime_id = encoder . stringID ( mime_type ) ; // Write buffer header encoder . log ( LOG . EMB , "file=[blob]', mime=" + mime + ", len=" + buffer . length ) ; encodeBuffer ( encoder , buffer_type , mime_id , buffer ) ; }
Enbod a blob as an embedded buffer
Enbod a blob as an embedded buffer