def generate_playready_object(wrmheader):
    """
    Generate a playready object from a wrmheader
    """
    return (len(wrmheader) + 10).to_bytes(4, 'little') + (1).to_bytes(2,
        'little') + (1).to_bytes(2, 'little') + len(wrmheader).to_bytes(2,
        'little') + wrmheader
