lib/protocol/t125/gcc.js
function settings(blocks, opt) {
	var self = {
		blocks : blocks || new type.Factory(function(s) {
			self.blocks = new type.Component([]);
			// read until end of stream
			while(s.availableLength() > 0) {
				self.blocks.obj.push(block().read(s));
			}
		}),
	};
	
	return new type.Component(self, opt);
}
function settings(blocks, opt) {
	var self = {
		blocks : blocks || new type.Factory(function(s) {
			self.blocks = new type.Component([]);
			// read until end of stream
			while(s.availableLength() > 0) {
				self.blocks.obj.push(block().read(s));
			}
		}),
	};
	
	return new type.Component(self, opt);
}
function settings ( blocks , opt ) { var self = { blocks : blocks || new type . Factory ( function ( s ) { self . blocks = new type . Component ( [ ] ) ; // read until end of stream while ( s . availableLength ( ) > 0 ) { self . blocks . obj . push ( block ( ) . read ( s ) ) ; } } ) , } ; return new type . Component ( self , opt ) ; }
Client or server GCC settings block
@param blocks {type.Component} array of gcc blocks
@param opt {object} options to component type
@returns {type.Component}
Client or server GCC settings block