code: function __serializeIntVar(data) {
  	if ( data.size > 127 ) {
  		throw new Error( "Cannot support IntVar whose size is greater than 127 bytes" );
  	}
  
  	const size = new Uint8Array([data.size]);
  	return [size.buffer, data.toBytes().buffer];
  }
docs: Serialize IntVar data
  @param {IntVar} data
  @returns {ArrayBuffer[]}
  @private