import struct


def _get_size(header_size_raw: bytes) -> int:
    """
    Grabs the size of the current atom from a file.

    :param header_size_raw: a set of bytes representing size
    :return: the size of the current atom in bytes
    """
    size_decoded = struct.unpack(">I", header_size_raw)[0]
    return size_decoded