def Size(self):
        """
        Get the total size in bytes of the object.

        Returns:
            int: size.
        """
        # Items should be an array of type CoinState, not of ints!
        corrected_items = list(map(lambda i: CoinState(i), self.Items))
        return super(UnspentCoinState, self).Size() + GetVarSize(corrected_items)
def Size ( self ) : corrected_items = list ( map ( lambda i : CoinState ( i ) , self . Items ) ) return super ( UnspentCoinState , self ) . Size ( ) + GetVarSize ( corrected_items )
Get the total size in bytes of the object.

        Returns:
            int: size.