我想将十六进制转换为二进制
如果我使用conv函数,那么如果该结果包含大于64位的二进制值
,则它会给出错误的结果我想将hex hex转换为二进制
六角 b3c935bb3667c964db1381db72fd8c897023879b19ab42e937839983cece465d18b719b8a37059ead4152298396f78743aa48245d1d80b899d19bd4e8217c963a187e97d028726c2
如果我使用conv函数,它会得到如下结果:
hh:mm:ss
输出:
1111111111111111111111111111111111111111111111111111111111111111
但我想回答:
101100111100100100110101101110110011011001100111110010010110010011011011000100111000000111011011011100101111110110001100100010010111000000100011100001111001101100011001101010110100001011101001001101111000001110011001100000111100111011001110010001100101110100011000101101110001100110111000101000110111000001011001111010101101010000010101001000101001100000111001011011110111100001110100001110101010010010000010010001011101000111011000000010111000100110011101000110011011110101001110100000100001011111001001011000111010000110000111111010010111110100000010100001110010011011000010
答案 0 :(得分:1)
var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ? true : false;
jQuery(document).ready(function(e) {
jQuery("body").mousemove(function(e) {
if(!isMobile) {
e.preventDefault();
dataslide = $(this).attr('.nk-navbar-default');
goToByScroll(dataslide);
}
jQuery(".nk-navbar-default").css( "opacity", "0.8");
setTimeout(function(e){
jQuery(".nk-navbar-default").css( "opacity", "0");
}, 2000);
});
});
不能被视为十六进制值,far more bigger than maximum 64-bit integer value等同于b3c935bb3667c964db1381db72fd8c897023879b19ab42e937839983cece465d18b719b8a37059ead4152298396f78743aa48245d1d80b899d19bd4e8217c963a187e97d028726c2
。
MySQL为您提供(7FFFFFFFFFFFFFFF)16
的正确结果。如果你要获得你提到的结果,请使用字符串到二进制转换。