Table of Contents

Enum ClassFormat

Namespace
ZeroC.Slice
Assembly
ZeroC.Slice.dll

Describes the possible formats when encoding classes.

public enum ClassFormat

Fields

Compact = 0

The Compact format assumes the sender and receiver have the same Slice definitions for classes. If an application receives a derived class it does not know, it is not capable of decoding it into a known base class because there is not enough information in the encoded payload. The Compact format is the default.

Sliced = 1

The Sliced format allows the receiver to slice off unknown slices. If an application receives a derived class it does not know, it can create a base class while preserving the unknown derived slices.