def mini_sector_size(node=None, parent=None, attr_index=None, rawdata=None,
    new_value=None, **kwargs):
    """Size getter for the getting byte size of a sector in the miniFAT."""
    if new_value is None:
        if 'mini_sector_shift' in kwargs:
            return 1 << kwargs['mini_sector_shift']
        try:
            return 1 << parent.get_root().data.header.mini_sector_shift
        except AttributeError:
            return 0
