ProtonizerBase

Description

abstract class Tinman.Core.IO.Serialization.ProtonizerBase

Derived from

IProtonizer

Extended by

Protonizer sealed

Abstract base class for IProtonizer implementations that provides common functionality.

Protected / Constructors

Protonizer​Base


protected constructor ProtonizerBase → (3)

reader in : IByteReader

The binary reader or null.

writer in : IByteWriter

The binary writer or null.

limit opt : int64 = Maths.MaxLong

The initial read limit.

Creates a new instance of ProtonizerBase.

Protected / Methods

Seek


[EmptyBody]
protected virtual method Seek → (1)

position in : int64

The new byte position.

returns → bool

true if position in has been set,
false if the reader position remained unchanged.

Tries to set the byte position of the underlying binary reader.

IOException

If an I/O error has occurred.