'Builds a single data frame out of a chunk of data.'

def buildDataFrame(self, data, flags=None, streamID=1):

    flags = (set(flags) if (flags is not None) else set())
    f = hyperframe.frame.DataFrame(streamID)
    f.data = data
    f.flags = flags
    return f
