Maʻalahi, manuahi, maʻalahi a ikaika hoʻi e hoʻololi i waena o kahi kaula a me ka hexadecimal, hiki ke hoʻokomo i kahi loulou, wikiō a i ʻole kiʻi e hoʻopaʻa ai/decode; Hiki iā ʻoe ke hana me nā URL mamao a i ʻole e hoʻouka i kāu mau faila ponoʻī, e hoʻoiho pū a kaʻana like paha i kāu mau hoaaloha me kā lākou ʻōlelo ponoʻī.
Hexadecimal kahi ʻōnaehana helu 16 kumu. Hōʻike ʻia nā helu 0 a hiki i 9 e ko lākou mau leka pili (A a hiki i F). Hōʻike ʻia nā helu mai ka 10 a hiki i ka 15 e nā huahelu ʻelua, e like me 1234 a i ʻole ABCD. ʻOi aku nā helu Hexadecimal ma mua o kēia mau palena, me ka hoʻohana ʻana i nā huaʻōlelo ʻehā e hōʻike i nā helu mai ka 16 a hiki i ka 255.
E akahele
No ka palena o ka polokalamu kele pūnaewele, ʻaʻole hiki ke ʻoi aku ka lōʻihi o kāu ʻikepili ma mua o 1950 mau huaʻōlelo inā makemake ʻoe e hoʻohana pololei i kēia ala. A i ʻole, e noʻonoʻo e hoʻohana i kā mākou API.
E hoʻopaʻa i ka kikokikona
Hiki iā ʻoe ke wehe i ka polokalamu kele pūnaewele a hoʻouka i ka URL me ke ʻano like me kēia:
https://tooly.win/text-hex-converter.html?input=kāu kikokikona maʻamau āu e makemake ai e hoʻopaʻa
Inā makemake ʻoe e hoʻopili i ka ʻike o ka URL waho, hiki iā ʻoe ke wehe i ka polokalamu kele pūnaewele a hoʻouka i ka URL e like me kēia:
Ke ʻae nei kēia mea hana i ke ʻano POST ma o API wale nō, inā makemake ʻoe e hoʻohana i ke ʻano GET, e noʻonoʻo e hoʻohana Hoʻohana pololei.
Hopena
https://tooly.win/api/text-hex-converter/
E hoʻopaʻa i ka kikokikona
Hopena: POST https://tooly.win/api/text-hex-converter/
Nā ʻāpana
input
string
URL / kāu kikokikona maʻamau āu e makemake ai e hoʻopaʻa
content
string
fetch inā he URL kāu hoʻokomo a makemake ʻoe e hoʻopili i kāna ʻike. Me ka ʻole o kēia ʻāpana, e hana kā mākou mea hana i kāu URL ma ke ʻano he kikokikona
space
boolean
true inā makemake ʻoe e loaʻa ka ʻikepili i hoʻopaʻa ʻia me nā hakahaka ma waena o nā bytes
prepend
boolean
true inā makemake ʻoe e loaʻa ka hopena i hoʻomaka i kēlā me kēia byte me 0x
curl
https://tooly.win/api/text-hex-converter/
-X POST -H 'Content-Type: application/json'
--data '{"input":"kāu kikokikona maʻamau āu e makemake ai e hoʻopaʻa","space":true,"prepend":true}'
Hexadecimal kahi ala e hōʻike ai i ka ʻikepili binary ma ke ʻano hiki ke heluhelu ʻia e ke kanaka. Ua hoʻomohala ʻia i ke kenekulia 19 e ʻae i nā kamepiula e mālama i ka nui o ka ʻike.
Hiki iā ʻoe ke hoʻohana i ka hexadecimal e hoʻololi i waena o nā helu decimal a me nā helu binary. No ka laʻana, ʻo ka hoʻololi ʻana i ka 10011011001010 i loko hexadecimal e hopena i ka 0x4F. ʻO ia ke ʻano o ka waiwai 4F e hōʻike ana i ka helu binary 100110110010110.
Ma ka makemakika a me ka ʻepekema lolouila, hexadecimal (ke kumu 16, a i ʻole hex) he ʻōnaehana helu kūlana me kahi radix, a i ʻole kumu, o 16. Hoʻohana ʻo ia i ʻumikumamāono hōʻailona ʻokoʻa, ʻo ka pinepine nā hōʻailona 0-9 e hōʻike i nā waiwai ʻaʻole i ʻeiwa. a me A, B, C, D, E, F (a i ʻole a-f) e hōʻike i nā waiwai he ʻumi a ʻumikūmālima. No ka laʻana, ua like ka helu hexadecimal 2AF3, i ka decimal, me (2 × 163) + (10 × 162) + (15 × 161) + (3 × 160) , a i ʻole 10,995.
Hōʻike kēlā me kēia huahelu hexadecimal i ʻehā mau huahelu binary (bits) (i kapa ʻia ʻo "nibble"), a ʻo ka hoʻohana mua ʻana o ka helu hexadecimal ma ke ʻano he hōʻike aloha kanaka o nā waiwai helu binary ma ka helu helu a me ka uila uila. No ka laʻana, hiki ke helu ʻia nā helu byte mai ka 0 a hiki i ka 255 (decimal) akā hiki ke hōʻike ʻia ma ke ʻano he ʻelua huahelu hexadecimal ma ka pae 00 a hiki i FF. Hoʻohana mau ʻia ka Hexadecimal e hōʻike i nā helu hoʻomanaʻo kamepiula.
ʻO ka Hex kahi pōkole o Hexadecimal, kahi i hoʻokumu ʻia ma kahi kumu -16 a hoʻohana ʻia no ka hoʻomaʻamaʻa ʻana i ke ʻano o nā kuhikuhi i nā kamepiula. Ua hoʻomohala ʻia kēia ʻōnaehana helu hōʻailona 16 ma ke ʻano he mea e pale ai i kahi helu binary 8-bit, no laila hiki ke hoʻopili ʻia ka ʻikepili i nā kamepiula me ka maʻalahi. Hiki ke paʻi ʻia a paʻi ʻia me ka hoʻohana ʻana i ʻelua huahelu hex ʻokoʻa me kēlā me kēia huahelu hex e hōʻike ana i kahi nibble a i ʻole he ʻano 4-bits.
Hoʻohana kēia ʻōnaehana helu i nā hōʻailona 16 i hōʻike ʻia ma kahi ākea mai 0-9 a i ʻole AF. Hōʻike ka 0–9 i nā helu a hiki i ka ʻeiwa a ʻo AF ke hōʻike ʻia e ka helu 10–15. Ke hoʻohālikelike ʻia me nā ʻano ʻano ʻano ʻano ʻano helu ʻē aʻe ʻē aʻe, ʻo ka ʻōnaehana helu hexadecimal i manaʻo ʻia ʻo ia ka mea ʻoi loa.
ʻO ka ʻōnaehana hexadecimal kahi helu helu 16 kumu, aʻo ka ʻōnaehana decimal he helu helu 10 kumu. ʻO ia hoʻi, hoʻohana ka ʻōnaehana hexadecimal i nā hōʻailona 16 e hōʻike i nā helu, ʻoiai hoʻohana ka ʻōnaehana decimal i nā hōʻailona 10. Hiki i kēia hoʻonui ʻia ke ʻike i ka ʻike kiʻekiʻe-hexadecimal huahelu hiki ke hōʻike i ʻelua mau helu ma mua o nā huahelu decimal.
He 16 mau huahelu hexadecimal ma kahi o ka 10 ma ka helu decimal. Hoʻomaka ka hoʻonohonoho ʻana o kēia mau helu ma hope o F (a i ʻole 15 ma ka decimal), ʻoiai ʻaʻole ia i nā decimals. E nānā i ka papa ma lalo nei e ʻike i ka hoʻohālikelike ʻana!
Ke hoʻololi i ka hexadecimal i decimal, ʻo ka hana mua e puʻunaue i ka helu hex me 16. E hāʻawi kēia iā ʻoe i ka helu kumu. ʻO ka hana ʻelua, ʻo ia ka puʻunaue ʻana i kēlā me kēia huahelu o ka helu hex me 16 a kākau i nā hopena. ʻO ka hope, e hoʻohui i nā helu a pau i helu ʻia.
No ka laʻana, inā makemake kekahi e hoʻololi i ka 9F7A i decimal, e puʻunaue mua lākou i ka 9F7A me 16 i like me 6051. A laila e puʻunaue i kēlā me kēia huahelu o 6051 me 16 i like me 381. ʻO ka hope, e hoʻohui lākou i 381 + 381 + 381 i like. 1144. No laila, ua like ka 9F7A me ka 1144
He hana maʻalahi ka hoʻololi ʻana i ka decimal i ka hexadecimal, a hiki ke hana ʻia me ka helu helu a i ʻole ka mea hoʻololi pūnaewele. I mea e hoʻololi ai i ka helu, e puʻunaue i ka 16 a lawe i ke koena. E pili ana keia koena me ka huahelu hexadecimal. No ka laʻana, inā loaʻa iā ʻoe ka helu decimal 234, e puʻunaue iā ia me 16 a lawe i ke koena: 234 / 16 = 14 R 2. No laila, ma ka helu hexadecimal, e kākau ʻia kēia helu ma ke ʻano he "E2".
Nui nā mea hana i loaʻa ma ka pūnaewele e hiki ke kōkua i ka hoʻololi ʻana ma waena o nā helu decimal a me nā helu hexadecimal. Eia kekahi, ʻo ka hapa nui o nā calculators kahi hana i kūkulu ʻia e hiki ai iā ʻoe ke hana maʻalahi i kēia hoʻololi. Me nā kaomi liʻiliʻi wale nō o ka ʻiole a i ʻole ka paʻi ʻana i ka papa keyboard, hiki iā ʻoe ke hoʻololi i kekahi waiwai decimal i kona like hexadecimal like!
Ua hoʻolālā ʻia ka ʻōnaehana hexadecimal, a i ʻole base-16, e hoʻohālike i kekahi o nā waiwai like me ka ʻōnaehana decimal. ʻO ia hoʻi, ua hana ʻia ia i mea e maʻalahi ai ka poʻe. ʻO ka helu 423 he 16 mau huahelu ma kahi o 10 mau huahelu i loaʻa ma ka ʻōnaehana decimal. No ka mea, hoʻohana ka hexadecimal i ke kumu o nā hōʻailona 16 ma kahi o 10. Ma hope o F, hoʻomaka hou ke kauoha me 0 a pēlā aku a pēlā aku a hiki i ka 15 i helu ʻia ʻo F.
Hoʻemi ka hoʻopāpā Hexadecimal i ka helu o nā huahelu ma ka helu ʻewalu ke hoʻohālikelike ʻia me ka ʻōnaehana decimal. Eia hou, loaʻa i nā helu hexadecimal ka nui o ka ʻike i ʻelua ʻoi aku ka nui ma mua o nā helu decimal. No laila, no ke aha ʻoe e pilikia ai ke aʻo ʻana i kēia hoʻolālā helu liʻiliʻi? No ka mea hiki ke maʻalahi kou ola! I ka hana ʻana me nā ʻōnaehana kikohoʻe a i ʻole ka hoʻoili ʻana i ka ʻikepili, me ka hoʻohana ʻana i ka hex e mālama iā ʻoe i ka manawa a me ka ikaika ke hoʻololi i nā memo cryptic a i ʻole nā kahawai ʻikepili.
I ka wā e pili ana i ka coding binary, ʻoi aku ka maikaʻi o ka Hexadecimal no ka mea e hoʻemi ana i nā huahelu 8 i ka 2. Eia hou, hāʻawi ʻo Hex i kahi kiʻekiʻe o ka ʻike ʻike a ʻoi aku ka pololei o nā helu ma mua o ka binary. Ma muli o ka hoʻohana ʻana o Hex i nā hōʻailona 16 ma mua o ʻelua wale nō e like me ka binary. Ma muli o kēia hoʻonui maikaʻi ʻana, hoʻohana pinepine ʻia ka Hexadecimal i ka wā e hoʻopili ai i ka helu binary i ka helu helu a me nā uila uila a me nā noi ʻepekema kamepiula.
Eia hou, lawe ʻo Hexadecimal i kahi liʻiliʻi ma mua o ka decimal. Me nā huahelu ʻelua wale nō ma kahi o nā huahelu binary 8, ʻoi aku ka maʻalahi o nā helu Hex. Hiki ke kōkua nui kēia i ka hana ʻana me nā ʻōnaehana kamepiula, no ka mea, ʻoi aku ka liʻiliʻi o nā hewa i ke kākau ʻana i nā code hex i hoʻohālikelike ʻia me nā code decimal he nui nā helu decimal ma nā wahi a pau!
ʻO ka helu hexadecimal he helu e hoʻohana ana i nā huahelu 16 ma kahi o nā huahelu 10 a mākou e hoʻohana ai i ka ʻōnaehana decimal. Kapa ʻia kēia ʻōnaehana helu base-16, a kōkua iā mākou e hoʻohālike i nā waiwai o kā mākou ʻōnaehana decimal maʻamau. Ma ka hexadecimal, hōʻike kēlā me kēia huahelu i ka mana o 16. ʻO nā helu 0 a hiki i 9 ke hōʻike nei i nā mana o 1 a hiki i 10, ʻoiai ʻo A a hiki i F e hōʻike ana i nā mana o 11 a hiki i 15.
E like me ka decimal, ma hope o ka hoʻohana ʻia ʻana o nā hōʻailona he 16 i ka Hexadecimal, hoʻomaka hou ke ʻano o nā helu ma ka ʻole. No laila, ua like ka hexadecimal 10 me ka decimal 16, a ua like ka hexadecimal 11 me ka decimal 17. A pela aku!
Hoʻomaka ka ʻōnaehana Decimal me 10 a piʻi i ka 15. ʻO ia ke ʻano o ka laulima o nā waiwai i hiki ke hōʻike ʻia e ka helu decimal mai 0-9, a ukali ʻia e AF (10-15).
I ka hiki ʻana mai i ka decoding Hexadecimal, aia kekahi mau mea e pono ai ʻoe e ʻike. ʻO ka mua, e like me ka ʻōnaehana decimal, ʻo ka ʻōnaehana hexadecimal he 10 hōʻailona (0-9) e hōʻike ana i nā helu. Eia nō naʻe, ma ka hexadecimal, ʻoi aku ka pālua o ka nui o kēia mau huahelu ma mua o ko lākou mau hoa ma ka ʻōnaehana decimal. No laila, ʻoiai ua hōʻike ʻia ka helu "10" e ka hōʻailona "A" ma ka hexadecimal, ua like ia me "10" ma ka ʻōnaehana decimal.
Pēlā nō, ma hope o ka hōʻea ʻana i ka 9 ma Hexadecimal (hōʻike ʻia e "F"), hoʻomaka mākou e helu hou ma 10 ("10"). Ke hoʻomau nei kēia kumu a hiki i ka 15 ("1F"), a laila hoʻihoʻi mākou i ka 0 a hoʻomaka e helu hou ma 16 ("20"). Pilikia paha kēia i ka wā mua, akā me ka hoʻomaʻamaʻa liʻiliʻi, e lilo ia i mea ʻelua!
ʻO ka hope, e like me ka waihona 10 (ka ʻōnaehana decimal), ʻo kēlā me kēia wahi waiwai o kahi helu hexadecimal e hōʻike ana i ka mana o 16. No laila, no ka laʻana, inā loaʻa iā mākou ka helu 423004 i mālama ʻia ma ke ʻano he hexadecimal.
ʻO ka 4 e hōʻike ana i 400 (4×100), 2 e hōʻike ana i 20 (2×10), 3 e hōʻike ana i 3 (3×1), a ʻo ka 0 e hōʻike ana i ka 0 (0x0).
He hiʻohiʻona maʻamau kēia o ka wehe ʻana i nā helu Hexadecimal. Inā ʻoe e ʻimi nei i ka ʻike kikoʻī, nui nā kumuwaiwai pūnaewele e hiki ke kōkua!
Ke hoʻohana nei mākou i ka lawelawe waho mai All Origins e hoʻouka pololei i kāu URL waho, ʻaʻohe ʻikepili i mālama ʻia ma kā mākou ʻaoʻao a me kāu mea kūʻai aku.
wehe ʻia mai [HEX code] i ka kikokikona - Mea hoʻololi kikokikona & HEX - Tooly.win https://tooly.win/text-hex-converter.html?code=68747470733a2f2f7777772e7573656f746f6f6c732e636f6d2f65732f6465636f64652d6865786e3556574849427a6334423739336676335a74306964726377466e44724e4630762f43365a6c68364574436b32395663746d564f726739502f426959457269697061466d396541437959496c4b7166507670434d355152695330364256362b585269702f373354752f6167&lang=haw