Ice.SliceInfo

class Ice.SliceInfo

Bases: object

Encapsulates the details of a class slice with an unknown type.

typeId

The Slice type ID for this slice. It’s empty when compactId is set (not -1).

Type:

str

compactId

The Slice compact type ID for this slice, or -1 if the slice has no compact ID.

Type:

int

bytes

The encoded bytes for this slice, excluding the slice header.

Type:

bytes

instances

The class instances referenced by this slice.

Type:

tuple[Value, …]

hasOptionalMembers

Whether or not the slice contains optional members.

Type:

bool

isLastSlice

Whether or not this is the last slice.

Type:

bool