@staticmethod
    def from_data(data):
        header, length = struct.unpack('4s<I', data[:8])
        data = data[8:]
        return RiffDataChunk(header, data)
Create a chunk from data including header and length bytes.
dataset/ETHPy150Open grampajoe/pymosh/pymosh/riff.py/RiffDataChunk.from_data