(path: FilePath, data: JSONInputBin)
Create a msgpack file and dump contents.

    location (FilePath): The file path.
    data (JSONInputBin): The data to serialize.
Create a msgpack file and dump contents.
Create a msgpack file and dump contents .
def write_msgpack(path: FilePath, data: JSONInputBin) -> None:
    """Create a msgpack file and dump contents.

    location (FilePath): The file path.
    data (JSONInputBin): The data to serialize.
    """
    file_path = force_path(path, require_exists=False)
    with file_path.open("wb") as f:
        msgpack.dump(data, f, use_bin_type=True)
def write_msgpack ( path : FilePath , data : JSONInputBin ) -> None : file_path = force_path ( path , require_exists = False ) with file_path . open ( "wb" ) as f : msgpack . dump ( data , f , use_bin_type = True )