@classmethod
def from_bytes(cls, input, **structure_kwargs):
    """ Create an header structure from PDS-compliant data.

        Parameters
        ----------
        input : bytes, str or unicode
            A string or bytes containing the data for header.
        structure_kwargs :  dict, optional
            Keywords that are passed directly to the `HeaderStructure` constructor.

        Returns
        -------
        HeaderStructure
            An object representing the PDS4 header structure. The data attribute will contain *input*.
            Other attributes may be specified via *structure_kwargs*.
        """
    from .read_headers import new_header
    return new_header(input, **structure_kwargs)
