ISerializer

Description

interface Tinman.Core.IO.Serialization.ISerializer

Derived from

IBinaryReader
IBinaryWriter

Extended by

SerializerBase abstract

Base interface for classes that read and write data during conversion of ISerializable objects to binary data streams.

Public / Methods

Read​Bool


public method ReadBool → ()

returns → bool

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Bool​Array


public method ReadBoolArray → ()

returns → bool [ ]

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Byte​Buffer


[OwnerReturn]
public method ReadByteBuffer → ()

returns → ByteBuffer

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Float32​Array


public method ReadFloat32Array → ()

returns → float32 [ ]

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Float64​Array


public method ReadFloat64Array → ()

returns → float64 [ ]

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Int16​Array


public method ReadInt16Array → ()

returns → int16 [ ]

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Int32​Array


public method ReadInt32Array → ()

returns → int32 [ ]

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Int64​Array


public method ReadInt64Array → ()

returns → int64 [ ]

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Int8​Array


public method ReadInt8Array → ()

returns → int8 [ ]

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​Object


[OwnerReturn]
public method ReadObject → ()

returns → ISerializable

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Read​String


public method ReadString → ()

returns → string

The data token value.

Returns a data token of the object being deserialized.

IOException

If an I/O error has occurred.

Write​Bool


public method WriteBool → (1)

value in : bool

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Bool​Array

2 overloads


public method WriteBoolArray1 → (1)

value in : bool [ ]

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.


public method WriteBoolArray2 → (3)

value in : bool [ ]

The data token value.

first in : int32

[>=0]
Index of first array element to write.

count in : int32

[>=0]
Number array elements to write.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Byte​Buffer


public method WriteByteBuffer → (1)

buffer in : ByteBuffer

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Float32​Array

2 overloads


public method WriteFloat32Array1 → (1)

value in : float32 [ ]

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.


public method WriteFloat32Array2 → (3)

value in : float32 [ ]

The data token value.

first in : int32

[>=0]
Index of first array element to write.

count in : int32

[>=0]
Number array elements to write.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Float64​Array

2 overloads


public method WriteFloat64Array1 → (1)

value in : float64 [ ]

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.


public method WriteFloat64Array2 → (3)

value in : float64 [ ]

The data token value.

first in : int32

[>=0]
Index of first array element to write.

count in : int32

[>=0]
Number array elements to write.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Int16​Array

2 overloads


public method WriteInt16Array1 → (1)

value in : int16 [ ]

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.


public method WriteInt16Array2 → (3)

value in : int16 [ ]

The data token value.

first in : int32

[>=0]
Index of first array element to write.

count in : int32

[>=0]
Number array elements to write.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Int32​Array

2 overloads


public method WriteInt32Array1 → (1)

value in : int32 [ ]

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.


public method WriteInt32Array2 → (3)

value in : int32 [ ]

The data token value.

first in : int32

[>=0]
Index of first array element to write.

count in : int32

[>=0]
Number array elements to write.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Int64​Array

2 overloads


public method WriteInt64Array1 → (1)

value in : int64 [ ]

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.


public method WriteInt64Array2 → (3)

value in : int64 [ ]

The data token value.

first in : int32

[>=0]
Index of first array element to write.

count in : int32

[>=0]
Number array elements to write.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Int8​Array

2 overloads


public method WriteInt8Array1 → (1)

value in : int8 [ ]

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.


public method WriteInt8Array2 → (3)

value in : int8 [ ]

The data token value.

first in : int32

[>=0]
Index of first array element to write.

count in : int32

[>=0]
Number array elements to write.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​Object


public method WriteObject → (1)

value in : ISerializable

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.

Write​String


public method WriteString → (1)

value in : string

The data token value.

Writes the value of a data token of the object being serialized.

IOException

If an I/O error has occurred.