serialize.esm.js
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];
}
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];
}
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 ] ; }
Serialize IntVar data
@param {IntVar} data
@returns {ArrayBuffer[]}
@private
Serialize IntVar data