Base interface for classes that perform serialization of concrete types.
[ShutdownSurvive]
|
|||||
interface
|
ITypeSerializer
|
with
|
<T>
|
||
base of
|
ITypeSerializerEx
|
||||
TypeSerializerBase
|
Deserializes a struct value form the given serialization stream.
method
|
ReadValue
(ISerializer data)
|
||
type
|
T
|
||
params
|
data
|
[not-null]
|
The serialization stream. |
returns
|
The deserialized value. |
Exceptions:
Deserializes a struct value array form the given serialization stream.
method
|
ReadValueArray
(ISerializer data)
|
||
type
|
T[]
|
||
params
|
data
|
[not-null]
|
The serialization stream. |
returns
|
The deserialized value. |
Exceptions:
Deserializes a struct value collection from the given serialization stream.
method
|
ReadValueCollection
(ISerializer data,
IBag<T> values)
|
||
params
|
data
|
[not-null]
|
The serialization stream. |
values
|
[not-null]
|
Output for deserialized struct values. |
Exceptions:
Serializes the given struct value to the serialization stream.
method
|
WriteValue
(ISerializer data,
T value)
|
||
params
|
data
|
[not-null]
|
The serialization stream. |
value
|
The struct value to serialize. |
Exceptions:
Serializes the given struct value array to the serialization stream.
method
|
WriteValueArray
(ISerializer data,
T[] values)
|
||
params
|
data
|
[not-null]
|
The serialization stream. |
values
|
The struct values to serialize. |
Exceptions:
Serializes the given struct value array to the serialization stream.
method
|
WriteValueArray
(ISerializer data,
T[] values,
int32 first,
int32 count)
|
||
params
|
data
|
[not-null]
|
The serialization stream. |
values
|
The struct values to serialize. | ||
first
|
[>=0]
|
Index of first array element to write. | |
count
|
[>=0]
|
Number array elements to write. |
Exceptions:
Serializes the given struct value collection to the serialization stream.
method
|
WriteValueCollection
(ISerializer data,
IBagConst<T> values)
|
||
params
|
data
|
[not-null]
|
The serialization stream. |
values
|
The struct values to serialize. |
Exceptions: