SerializerBase

Description

abstract class Tinman.Core.IO.Serialization.SerializerBase

Derived from

ISerializer

Extended by

SerializerStream abstract

Abstract base class for ISerializer implementations.

Protected / Methods

Read­Int32No­Flags


protected abstract method ReadInt32NoFlags → ()

returns → int32

The read value.

Reads a signed 32-bit integer, ignoring all SerializerFlags.

IOException

If an I/O error has occurred.

Serial­Version­Write


protected method SerialVersionWrite → (1)

type in : ISerialTypeInfo

The serial type.

returns → int32

The serial version adjustment.

Returns the serial version adjustment to use for writing objects of the given type in.

Write­Int32No­Flags


protected abstract method WriteInt32NoFlags → (1)

value in : int32

The value to write.

Writes a signed 32-bit integer, ignoring all SerializerFlags.

IOException

If an I/O error has occurred.

Protected / Attributes

use­Plain­Object­Guids


protected attribute usePlainObjectGuids → (bool)

use­String­Table


protected attribute useStringTable → (bool)

use­Utf8For­String


protected attribute useUtf8ForString → (bool)

use­Var­Int­For­Length


protected attribute useVarIntForLength → (int32)

use­Var­Int­For­Values


protected attribute useVarIntForValues → (int32)

use­Var­Int­Shortcut


protected attribute useVarIntShortcut → (bool)