代码搜索:serializing
找到约 106 项符合「serializing」的源代码
代码结果 106
www.eeworm.com/read/275831/10793718
rb 01 - serializing data with marshal.rb
Marshal.dump(10) # => "\004\010i\017"
Marshal.dump('ten') # => "\004\010\"\010ten"
Marshal.dump('10') # => "\004\010\"
www.eeworm.com/read/127767/14337247
txt e044. serializing an object.txt
The object to be serialized must implement java.io.Serializable. This example serializes a javax.swing.JButton object.
See also e45 Deserializing an Object.
Object object = new javax.swing.J
www.eeworm.com/read/134188/5893817
java textserializer.java
/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or wit
www.eeworm.com/read/127767/14335957
txt e007. serializing a bean to xml.txt
The XMLEncoder class serializes an object in similar fashion to java.io.ObjectOutput. However, unlike ObjectOutput, which persists all non-transient private and public data, the XMLEncoder only persis
www.eeworm.com/read/134188/5893825
java domserializer.java
/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or wi
www.eeworm.com/read/193517/8221194
vb grandchild.vb
_
Public Class Grandchild
Inherits BusinessBase
Private mData As String = ""
Public Property Data() As String
Get
Return mData
End Get
Set(ByVal Va
www.eeworm.com/read/364251/7075989
py serialize.py
#!/usr/bin/python -u
import sys
import libxml2
# Memory debug specific
libxml2.debugMemory(1)
#
# Testing XML document serialization
#
doc = libxml2.parseDoc("""hello""")
str
www.eeworm.com/read/148359/5715561
py serialize.py
#!/usr/bin/python -u
import sys
import libxml2
# Memory debug specific
libxml2.debugMemory(1)
#
# Testing XML document serialization
#
doc = libxml2.parseDoc("""hello""")
str
www.eeworm.com/read/127767/14336534
txt e008. deserializing a bean from xml.txt
See also e7 Serializing a Bean to XML.
// Deserialize an object
try {
XMLDecoder decoder = new XMLDecoder(new BufferedInputStream(
new FileInputStream("infilename.xml"
www.eeworm.com/read/132665/14081218
py serialize.py
#!/usr/bin/python -u
import sys
import libxml2
# Memory debug specific
libxml2.debugMemory(1)
#
# Testing XML document serialization
#
doc = libxml2.parseDoc("""hello""")
str