identifyBigInt = n => {
	if (n <= BigInt(127) && n >= BigInt(-128)) return 0;
	if (n <= BigInt(2147483647) && n >= BigInt(-2147483648)) return 1;
	return 2;
}
@param {bigint} n bigint
@returns {0 | 1 | 2} type of bigint for serialization