serialize是什么意思,serialize中文翻譯,serialize發(fā)音、用法及例句
?serialize
serialize發(fā)音
英:['s??r??la?z] 美:[?s?r???la?z]
英: 美:
serialize中文意思翻譯
vt. 連載, 串行化
=serialise(英)
serialize詞形變化
動(dòng)詞過去分詞: serialized | 動(dòng)詞現(xiàn)在分詞: serializing | 名詞: serialization | 動(dòng)詞第三人稱單數(shù): serializes | 動(dòng)詞過去式: serialized |
serialize常見例句
1 、Convert date to serial number.───將日期轉(zhuǎn)換為序列數(shù)。
2 、The XmlSerializer class gives you complete and flexible control when you serialize an object as XML.───XmlSerializer類在您將對(duì)象序列化為XML時(shí)為您提供完整而靈活的控制。
3 、USB employs NRZI data encoding to transmit USB serial data.───USB串行數(shù)據(jù)采用了NRZI編碼,在USB數(shù)據(jù)線上傳輸。
4 、The MAX187 is a serial 12 bit A/D converter.───MAX187是一個(gè)具有串行接口的12位A/D轉(zhuǎn)換器。
5 、Convert time to serial number.───將時(shí)間轉(zhuǎn)換為序列數(shù)。
6 、Realization of Serial Communication Function.───串行通信功能的實(shí)現(xiàn)。
7 、Installation is possible via frame buffer or the serial console.───可以frame buffer或過串列主控臺(tái)來進(jìn)行安裝。
8 、Converts a date represented by text to a serial number.───將表示為文本的日期轉(zhuǎn)換為序列數(shù)。
9 、Double-click Universal Serial Bus controllers.───雙擊“通用串行總線控制器”。
10 、To change from serial - by - bit to parallel - by - byte.───從按位串行的方式改變?yōu)榘醋止?jié)并行。
11 、Power consumption (serial): 65 mA (Max.───功率消耗(串行):65毫安(最大值)
12 、A method of combining functions in a serial manner.───一種把若干函數(shù)以串行方式組合起來的方法。
13 、Serial or Parallel Remote Control.───串行或并行**操作。
14 、One of the earliest serial killers on record is Jack the Ripper.───“開膛手”杰克是記錄在案的一個(gè)早期系列殺手。
15 、Military ordinance is serialized and the serial numbers have been filed down.─── 軍事條例規(guī)定要編號(hào) 但這上面的編號(hào)被銼光了
16 、Internal firmware upgradeable through the serial port or network.───內(nèi)部固件升級(jí)通過串口或網(wǎng)絡(luò)。
17 、The procedure of converting serial data into parallel data.───將串行數(shù)據(jù)轉(zhuǎn)換為并行數(shù)據(jù)的過程或方法。
18 、Downloaded serial numbers may not be transferred.───下載的序列號(hào)不能傳輸。
19 、An exciting new serial story will begin in our next week's issue.───一個(gè)刺激而新穎的連載故事將于下周開始在本刊登出。
20 、Serial music may be written in various idioms.───序列音樂可以根據(jù)不同的風(fēng)格創(chuàng)作而成。
21 、Difficulties come about at serial.───困難相繼出現(xiàn).
22 、Can carry serial communication interface.───可帶有串行通訊接口。
23 、Serial Code Last 8 Digits of VIN No.───序列號(hào) 車輛標(biāo)識(shí)號(hào)的后八位
24 、During the practice process, a serial of risks are in existence.───在這一操作過程中,存在著一系列的法律風(fēng)險(xiǎn)。
25 、Can you account for the serial failures in our experiment ?───你能解釋我們實(shí)驗(yàn)屢屢失敗的原因嗎?
26 、Serial port The connection for serial interface.───串聯(lián)**口連接串聯(lián)接駁器的**口。
27 、The unpaid portion of a serial bond at maturity.───到期的序列債券或分批償還債券的未付部分。
28 、Can serialize most objects, but the result is not loosely coupled.───可以序列化大多數(shù)對(duì)象,但結(jié)果不是松耦合的。
29 、The born again could buy the serial rights!───復(fù)仇之神重生了!
30 、How can you account for the serial accidents.───對(duì)于這一連串的事故你怎么解釋呢?
31 、A new serial is starting on television tonight.───一部新的連續(xù)劇今晚開始在電視臺(tái)播出。
32 、You can interact with fields easily by a single form element, serialize form and fields.───幾乎每個(gè)項(xiàng)目我都需要?jiǎng)?chuàng)建網(wǎng)頁(yè)風(fēng)格和驗(yàn)證表單元素。
33 、The sale will only go ahead if the serial numbers match.───只有當(dāng)序號(hào)都相符合時(shí),銷售才能繼續(xù)進(jìn)行。
34 、Parity used for serial transmission.───串行傳輸使用的校驗(yàn)。
35 、One serial killer's car is found in the junkyard of another serial killer.─── 一個(gè)連環(huán)殺手的車 出現(xiàn)在另一個(gè)連環(huán)殺手的廢車場(chǎng)里
36 、Prints data to the serial port.───從串行端口輸出數(shù)據(jù)。
37 、She was one of a rare breed - a female serial killer.───她屬于另類 -- 一個(gè)連環(huán)女殺手。
38 、Be sure to put down its make, brand and serial number.───務(wù)必寫清楚它的產(chǎn)地、品牌和編號(hào)。
39 、External power supply needed for Serial Expanders.───串行擴(kuò)展器需要外部電源供應(yīng)。
40 、It is the responsibility of the application to serialize access to the port correctly.───如何正確而有序的(序列化)訪問那端口因該是應(yīng)用程序的值責(zé)。
41 、A serial counter is also called a ripple counter.───串行計(jì)數(shù)器亦叫脈沖型計(jì)數(shù)器。
42 、He started a magazine serial about a scientific detective.───他開始著雜志上一篇科學(xué)**的連載**。
43 、You’ll learn about different ways to serialize Ruby objects to JSON.───你將學(xué)到如何將 Ruby 物件轉(zhuǎn)換成 JSON 的格式。
44 、He's doing that because he's a serial killer.─── 他這么做是因?yàn)樗莻€(gè)連環(huán)殺手
45 、RS232 serial communication source code, can receive various data.───RS232串口通信源代碼,可以接收各種數(shù)據(jù)。
46 、Serialize() returns a string containing a byte-stream representation of any value that can be stored in PHP.───serialize()返回一個(gè)字符串,包含著可以儲(chǔ)存于PHP的任何值的字節(jié)流表示。
47 、Serialize() returns a string containing a byte-stream representation of value that can be stored anywhere.───serialize()返回字符串,此字符串包含了表示value的字節(jié)流,可以存儲(chǔ)于任何地方。
48 、Be sure to put down its make,brand and serial number.───務(wù)必寫清它的產(chǎn)地、牌名和編號(hào)。
49 、Was there any apprehension about playing a serial killer?───你對(duì)扮演一個(gè)連環(huán)殺手有什么擔(dān)憂嗎?
50 、Writes data to the serial port output buffer.───將數(shù)據(jù)寫入串行端口輸出緩沖區(qū)。
51 、No, I'm not turning into a serial hacker.─── 不 我并不是當(dāng)黑客上了癮
52 、Encryption is also useful if it is necessary to serialize the sensitive data.───如果必須序列化敏感數(shù)據(jù),加密也很有用。
53 、You can see part two of the serial at the same time next week.───你可在下周同樣時(shí)間看到該連續(xù)劇的第二集。
54 、He portrayed a serial killer in a Broadway show.───他曾在一個(gè)百老匯演出中扮演一位連環(huán)殺手。
55 、The GCM communicates with the PCCI control over a serial data link.───GCM與PCC通過串行數(shù)據(jù)連接。
56 、But we haven't been invited, and it isn't serial.─── 但我們并沒收到邀請(qǐng) 這也不是連環(huán)兇殺案
57 、Later, we suspected that the culprit could be all those operations needed to serialize each number.───后來,我們懷疑原因可能是序列化每個(gè)數(shù)字所需的所有那些操作。
58 、No serial device was successfully initialized. The serial driver will unload.───串行設(shè)備初始化不成功。串行驅(qū)動(dòng)程序?qū)⑿遁d。
59 、Well, we can't rule out a serial killer murdering serial killers.─── 不能排除是連環(huán)殺手 殺的連環(huán)殺手
60 、Different JDK levels can serialize and deserialize resources slightly differently, which can cause run-time problems.───不同的JDK級(jí)別會(huì)用稍微不同的方法對(duì)資源進(jìn)行序列化和反序列化,這樣會(huì)導(dǎo)致出現(xiàn)運(yùn)行時(shí)問題。
61 、Command-line error: Invalid port for serial port mapping.───命令行錯(cuò)誤:串行端口映射的端口無效。
62 、If you are using a serial console, send a break to the machine.───如果您使用的是串口控制臺(tái),發(fā)送break到機(jī)器。
63 、Be sure to put down it make, brand and serial number.───務(wù)必寫清它的產(chǎn)地、品牌和編號(hào)。
64 、A time measurement for a given computer word to pass a given point as in serial storage delay-lines. All of the bits of a word must pass through the input control gate; the beat is then the sum of all the bits times.───在串行存儲(chǔ)延遲線中,計(jì)算機(jī)字通過某指定點(diǎn)的一種時(shí)間度量。該字的所有位必須通過輸入控制門,拍則是所有位時(shí)間之和。
65 、This is the serial number for the uzi.─── 這是那把烏茲沖鋒**的序列號(hào)
66 、This zip describes TWI communication with a 2 wire serial EEPROM.───(譯):這郵編介紹契維語溝通, 2線串行EEPROM 。
67 、However, SOAP allows for a richer use of XML to encode and serialize complex data structures such as classes.───但是,SOAP允許更豐富地使用XML,以對(duì)復(fù)雜數(shù)據(jù)結(jié)構(gòu)(例如類)進(jìn)行編碼和序列化。
68 、Parity used for characters in serial mode.───串行模式中字符的極性。
69 、It means "International Standard Serial Number".───它的意思是“國(guó)際標(biāo)準(zhǔn)期刊刊號(hào)”。
70 、The serial link communicates with the TRE modules for testing.───串行鏈路溝通與tre模塊進(jìn)行測(cè)試。
71 、There are no Serial Ports which can be setup on this system.───在這個(gè)系統(tǒng)上沒有可以安裝的串行口。
72 、Under the terms DOS operating system Multiport Serial Card.───MOXA卡的操作.用語DOS系統(tǒng)下操作多串口卡。
73 、Do you want to serialize all AE plugins?───你想要連載所有的 AE **件嗎?
74 、Its serial, kaleidoscopic exposures force us to follow its lead.───它那系列的、多變的畫面引著我們跟著它走。
75 、AVR MCU through serial application of GPS to read all the data.───AVR系列單片機(jī)通過,串口應(yīng)用讀取GPS全部數(shù)據(jù)。
76 、To convert serial or timedependent parallel data into static form.───將串行或與時(shí)間有關(guān)的并行數(shù)據(jù)轉(zhuǎn)換成靜態(tài)形式的過程。
77 、Goliath as a serial crier does not work on a number of levels.───一個(gè)哭啼不迭的巨人是不能在很多級(jí)別的競(jìng)爭(zhēng)中勝出的。
78 、There's a serial killer on the loose.─── 有一個(gè)連環(huán)殺手在外面逍遙法外
79 、Don't you want to see part two of the serial @The Big Family@?───你不想看連續(xù)劇“大家庭”第二集了嗎?
80 、Values themselves may serialize as either member variables or local variables.───值本身可以序列化為成員變量或局部變量。
81 、PPP is a protocol for data transmission using a serial device.───PPP是使用串行設(shè)備進(jìn)行數(shù)據(jù)傳輸?shù)膮f(xié)議。
82 、It communicates with the main board by a serial line.───它和主板間是通過傳形線連接。
83 、The girl frightened trembles, said that got rid the serial number.───女孩嚇得哆哆嗦嗦,說出了手機(jī)號(hào)。
84 、They can take serial communication interface.───可帶串行通訊接口。
85 、I2C bus is a two-wire low-speed serial bus developed by Phillips.───I2C 總線在 嵌入式系統(tǒng) 中可用于音頻、視頻以及多種 傳感器等設(shè)備信號(hào)的傳輸。
86 、He's a serial killer studying serial killers.─── 他是個(gè)正在研究連環(huán)殺手的連環(huán)殺手
87 、Because it was baked by a serial killer.─── 因?yàn)檫@是一個(gè)連環(huán)殺手烤的
88 、Projection and denial are hallmarks of the serial bully.───和。否認(rèn)。是連環(huán)欺負(fù)人的標(biāo)記。
89 、Perhaps the name of that serial was Huo Yuan jian.───可能是《霍元甲》吧。
90 、Serial port: The connection for serial interface.───串聯(lián)**口:連接串聯(lián)接駁器的**口。
如何將Hashtable變量的數(shù)據(jù)序列化成字符串
你把Hashtable的對(duì)象通過序列化處理就可以了。
不過要求放置在Hashtable對(duì)象中的每個(gè)元素對(duì)象必須是可以序列化的,否則會(huì)失敗。
下面的代碼你可以直接使用:
// 類 名 稱:SerializationHelper(類數(shù)據(jù)序列化處理類)
// 功能描述:本類以靜態(tài)函數(shù)的形式實(shí)現(xiàn)序列化和反序列化功能
//
// 內(nèi) 容:增加函數(shù)MaskStrToBytes和UnmaskBytesToStr,同時(shí)對(duì)Serialize后/Deserialize前的數(shù)據(jù)進(jìn)行Mask和Unmask處理
//
using System;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Windows.Forms;
using System.Text;
namespace Common.Serialize
{
///
/// SerializationHelper 的摘要說明。
///
public class SerializationHelper
{
//
//函數(shù):Serialize
//類型:byte[]
//參數(shù):data,object類型,要序列化處理的數(shù)據(jù)類型
//訪問:public、static
//功能:對(duì)指定對(duì)象的數(shù)據(jù)進(jìn)行序列化處理,處理完成后的數(shù)據(jù)存儲(chǔ)到指定的文件中。
//其他:
//
//作者:Daview
//日期:2004年08月16日
//
public static byte[] Serialize(object data)
{
BinaryFormatter formatter=new BinaryFormatter();
MemoryStream streamMemory=new MemoryStream();
formatter.Serialize(streamMemory,data);
byte[] binaryData=streamMemory.GetBuffer();
streamMemory.Close();
return binaryData;
}
//
//函數(shù):Deserialize
//類型:object
//參數(shù):binaryData,byte[]類型,要反序列化的數(shù)據(jù)字節(jié)數(shù)組
//訪問:public、static
//功能:對(duì)二進(jìn)制文件進(jìn)行反序列化處理,返回反序列化后的數(shù)據(jù)對(duì)象
//其他:
//
//作者:Daview
//日期:2004年08月16日
//
public static object Deserialize(byte[] binaryData)
{
BinaryFormatter formatter=new BinaryFormatter();
MemoryStream streamMemory=new MemoryStream(binaryData);
object data=formatter.Deserialize(streamMemory);
streamMemory.Close();
return data;
}
//
//函數(shù):Serialize
//類型:void
//參數(shù):data,object類型,要序列化處理的數(shù)據(jù)類型
// filePath,string類型,數(shù)據(jù)序列化后保存的文件名
//訪問:public、static
//功能:對(duì)指定對(duì)象的數(shù)據(jù)進(jìn)行序列化處理,處理完成后的數(shù)據(jù)存儲(chǔ)到指定的文件中。
//其他:
//
//作者:Daview
//日期:2004年06月04日
//
//修改:Daview
//日期:2004年08月16日
//內(nèi)容:把序列化過程獨(dú)立出去
//
public static void Serialize(object data, string filePath)
{
string cipherData;
string binaryData;
try
{
//打開文件
System.IO.FileStream fs=new FileStream(filePath,FileMode.Create,FileAccess.Write);
//StreamWriter fs=new StreamWriter(filePath,false);
try
{
//加密數(shù)據(jù)
binaryData=Convert.ToBase64String(Serialize(data));
cipherData=binaryData;
//cipherData=DataProtection.DataProtection.Encrypt(binaryData,DataProtection.DataProtection.Store.Machine);
//保存數(shù)據(jù)
byte[] bitTmp=MaskStrToBytes(cipherData);
fs.Write(bitTmp,0,bitTmp.Length);
}
catch(Exception e)
{
ErrInfo.NewErrInfo(e);
}
finally
{
//關(guān)閉文件
fs.Flush();
fs.Close();
}
}
catch(Exception e)
{
ErrInfo.NewErrInfo(e);
}
}
//
//函數(shù):Deserialize
//類型:object
//參數(shù):filePath,string類型,要反序列化的數(shù)據(jù)文件名
//訪問:public、static
//功能:對(duì)二進(jìn)制文件進(jìn)行反序列化處理,返回反序列化后的數(shù)據(jù)對(duì)象
//其他:
//
//作者:Daview
//日期:2004年06月04日
//
//修改:Daview
//日期:2004年08月16日
//內(nèi)容:把反序列化過程獨(dú)立出去
//
public static object Deserialize(string filePath)
{
object data=new object();
try
{
//打開文件
FileStream fs=new FileStream(filePath,FileMode.Open,FileAccess.Read);
//StreamReader sr=new StreamReader(filePath);
try
{
//讀取二進(jìn)制文件并轉(zhuǎn)化為字符串
byte[] bitTmp=new byte[fs.Length];
fs.Read(bitTmp,0,bitTmp.Length);
string strBase64Data=UnmaskBytesToStr(bitTmp);
data=Deserialize(Convert.FromBase64String(strBase64Data));
}
catch(Exception e)
{
//數(shù)據(jù)反序列化失敗
ErrInfo.NewErrInfo(e);
data=null;
}
finally
{
//關(guān)閉reader
fs.Close();
//sr.Close();
}
}
catch(Exception e)
{
//文件不存在
ErrInfo.NewErrInfo(e);
data=null;
}
return data;
}
//
//函數(shù):MaskStrToBytes
//類型:byte[]
//參數(shù):str,string類型,要進(jìn)行Mask處理的字符串?dāng)?shù)據(jù)
//訪問:private、static
//功能:對(duì)字符串轉(zhuǎn)化為字節(jié)數(shù)組并對(duì)所有字節(jié)進(jìn)行Mask處理
//其他:
//
//作者:Daview
//日期:2004年06月05日
//
private static byte[] MaskStrToBytes(string str)
{
byte[] bitTmp=Encoding.ASCII.GetBytes(str);
int iLen=bitTmp.Length;
for(int i=0;i bitTmp[i]^=(byte)0x70; return bitTmp; } // //函數(shù):UnmaskBytesToStr //類型:string //參數(shù):bits,byte[]類型,要進(jìn)行Unmask處理的字節(jié)數(shù)組數(shù)據(jù) //訪問:private、static //功能:對(duì)字節(jié)數(shù)組進(jìn)行Unmask處理后再轉(zhuǎn)化為字符串返回 //其他: // //作者:Daview //日期:2004年06月05日 // private static string UnmaskBytesToStr(byte[] bits) { int iLen=bits.Length; for(int i=0;i bits[i]^=(byte)0x70; return Encoding.ASCII.GetString(bits); } } } 私有變量前會(huì)出現(xiàn)空格,它不會(huì)顯示出來,復(fù)制粘貼去轉(zhuǎn)碼就會(huì)出問題,自己手動(dòng)加空格好像也會(huì)被過濾掉,要轉(zhuǎn)碼可直接在代碼中調(diào)用base64_encode()serialize()序列化的時(shí)候?yàn)槭裁磿?huì)出現(xiàn)空格
本站其他內(nèi)容推薦
1、backbone elver bedtime Seder tournedos fossiliferous rugged assignation snippers propagate
2、wipes中文翻譯,wipes是什么意思,wipes發(fā)音、用法及例句
3、sandbar是什么意思,sandbar中文翻譯,sandbar發(fā)音、用法及例句
4、supporting是什么意思,supporting中文翻譯,supporting發(fā)音、用法及例句
5、courage是什么意思,courage中文翻譯,courage發(fā)音、用法及例句
6、淡的組詞,淡組詞,淡字可以組什么詞,淡怎么組詞,淡字的組詞有哪些
7、restraints是什么意思,restraints中文翻譯,restraints怎么讀、發(fā)音、用法及例句
8、使脫色的英文,英語,decolor是什么意思,decolor中文翻譯,decolor怎么讀、發(fā)音、用法及例句
9、mammilloid是什么意思,mammilloid中文翻譯,mammilloid怎么讀、發(fā)音、用法及例句
版權(quán)聲明: 本站僅提供信息存儲(chǔ)空間服務(wù),旨在傳遞更多信息,不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任,不代表本網(wǎng)贊同其觀點(diǎn)和對(duì)其真實(shí)性負(fù)責(zé)。如因作品內(nèi)容、版權(quán)和其它問題需要同本網(wǎng)聯(lián)系的,請(qǐng)發(fā)送郵件至 舉報(bào),一經(jīng)查實(shí),本站將立刻刪除。