'Wrapper around struct.calcsize which enforces the alignment of the
end of a structure to the alignment requirement of pointer.
Note: This wrapper should only be used if a pointer member is included
and no member with a size larger than a pointer exists.'

def calcsize(self, fmt):

    return struct.calcsize((fmt + '0P'))
