@classmethod
def unmarshal(cls, raw: bytes):
    """Returns a new EntryBlock object, unmarshalling given bytes according to:
        https://github.com/FactomProject/FactomDocs/blob/master/factomDataStructureDetails.md#entry-block

        Useful for working with a single eblock out of context, pulled directly from a factomd database for instance.

        EntryBlock created will not include contextual metadata, such as timestamp or the pointer to the
        next entry block.
        """
    block, data = cls.unmarshal_with_remainder(raw)
    assert len(data) == 0, 'Extra bytes remaining!'
    return block
