slot_size
Compute the serialized size of an object in a slot
Behaviour
Return the number of bytes the object in the specified slot occupies when serialized
Definition
C
Example
C
Parameters
Name
Type
Description
slot_no
uint32_t
The slot number
Return Code
Type
Description
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
Last updated