Compute the serialized size of an object in a slot
Return the number of bytes the object in the specified slot occupies when serialized
C
C
slot_no
uint32_t
The slot number
int64_t
The number of bytes the object occupies when serialized
If negative, an error:
DOESNT_EXIST
- the specified slot does not contain any object or it is an invalid slot