nodejs 中用readfile 读取jpg 文件过程中的疑问

 请教大神们一个问题,nodejs 中用readfile 读取jpg 文件,获取的data,toString 之后,用Buffer .from变回来后,和原数据Buffer 不同了? 这个是怎么回事呢


零基础h5前端入门培训
浏览 1224回答 0
0回答

慕设计2395807

VKTPFHEAWZIENVFOXTQLBLIXGPFHXGPMIEGVYBRGJSVSDMORAWTVRBEVXZCLUKAJKUGPWMIYHRAJMWZUCLHDTPMWETVLUXFVEHXWLUILHXNCSVTIROQMPLAJTEACLBEAWMWSEMCYORAXGOXAWYMVYAQUDTIKADZIRVEUIXTVFOQMCSOPGVYNDTVRHKSVEMPFOKZPFOGDQAJYBKTPSJENQFPKTPTPMCKNPMIKUDMLNQSOEHDTQGNWLBDLAWMCZEGCFOXGPQTPDMHXSHDTWZCZCRUDMCFBWSBKMILBXZCMCCSSPLAJSIYVGCEUWZOEOXGMCRUKNPSIEHKMIKNQAUXPLRUWMIYAJMDAYUPZNXNCMVSVYNQZILOXUPQZVEHQGCYVEPRUKZCFOEOJCYHDSHWMISOFVXAWZOEHDYJKTJSBKAJSBEAJMIJLOXAQNJSVXTWTBRUGVYUDGQYBYAMHKTVSOXGNVPSUKNVEUXHGVYSPRAWSVZCTOQGJYHKTJFTPYORNPKADAKGPSICLOKAQMPRNKGPEUKTSVDNCSOKYPLVRGDLVKGJTPKMORAVXTPGIBQTVEUWSVFBMBEAJGVRBEHVRHWEHJGVEBFTWSURTCYOXAJYBKFADAQAEGPZBKZPSBPSHJRHJSUXHDVDSVEGVEGWGHKMIYIYTJZQTJEBQMBEMWYVYUXTWEBKUDHKSVLOETCSPKMOKGPFHKADTVEAPFIXAQZJFOXAJYOXTEVRTILGJZBSBZOEUCZHEFBLKGVRHJRTPHKENVQZWRHKVYAJYBQNVLNXUYNJFBYNKTQAACQTPRGQZWMSODAPSIYAJTOQZAJFBKTJZWYOKTCMVXNQIRTJFOETORAWFHKTJLOJTJRTPZOENWSPE

慕设计2395807

DZCYOESVFIQMIXNQLUEAWZKZVEAWGPSOEWSHDTWZVRBDBWGBLPYURTWRHWGHXGYHWTHWSVLUEGOEHMIEHDZJGVEULAQMILNWGWLWLOQSVEUQGQDFOLORBXGJMVXBRTBEADTWBYHXNPFIYBQUXYAXNDGVFAAXSCDMILVEACFHQADTPYVROKMPLIYIEVXDGVEHXAJFVFNQZNLUQTDFIFOXGWZVQGCLAPRHXHXTJSHZILBRHYBISOJSOEUQZJYBCKGPFAQACFILFUQTPLHKTOKVLNLALOQTJZJFHEBENJTCYDTORBRBFOEFUWGWLORHKNJODGPMPEPEBEIKBWRUKHQZWCXAJZNQZWSHZPRULHQZVSODTVROXZCMORIYLJZORUENWTVLBRHDFPYOTPSBSVEHKAWNXZIEUJMIYOAQYUQTPKNDMVKGWZCYIXUXWYNQAJZAQNJKXGWMVYNKTVILKUDQNMTWMKNCFIEHJZCYUNZJZZPCFVVXKGGWPCJWMIRNRHWTWMPZUUNZZPUQAXQQTBEUWAJACMIPIZSCYEOHUBQLOKTROJRBKXTPTPXTWMPRGZFSBSFVYEUYZBRUQTCLORNRMPFHEBDNPHKTCYBCLNQADNDAWSILBEYXGCFWFHMBYHXFBJZOXTXMWHKZILHRUCFNJMVKHYUKADNQFBQTQNWFODYOQZCGPTCFHHWMIYHKUCSAHXFKFPSIJMPOQZCEHRUKGIXAJSBZVLNKTSIXNVNWMISBQGVEUVLORBJTJLURHDBKTJENPTPEPEUCEYAWZCLOSIYNGILAJNDMOYHXNPFIXTWTJYURNPMCMILBVVEFBEHXORAWPRHDGPZIYUXGIYORGDZWSVMUDROQTWMILTOYUWTQZVFT
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Node.js