Table of Contents

Class SliceInfo

Namespace
IceRpc.Ice.Codec
Assembly
IceRpc.dll

Encapsulates the details of a class slice (as in slice of cake) that an IActivator could not decode.

public sealed class SliceInfo
Inheritance
SliceInfo
Inherited Members

Properties

Bytes

Gets the encoded bytes for this slice, excluding the leading slice size. When the slice has tagged fields, the trailing tag end marker is also excluded.

public ReadOnlyMemory<byte> Bytes { get; }

Property Value

ReadOnlyMemory<byte>

HasTaggedFields

Gets a value indicating whether or not the slice contains tagged fields.

public bool HasTaggedFields { get; }

Property Value

bool

Instances

Gets the class instances referenced by this slice.

public IReadOnlyList<IceClass> Instances { get; }

Property Value

IReadOnlyList<IceClass>

TypeId

Gets the Ice type ID or compact ID for this slice. An Ice type ID starts with "::", while a compact ID is a non-negative integer in decimal notation.

public string TypeId { get; }

Property Value

string